I am trying to add zk digest ACL on zookeeper-3.4.9.- referring:
https://lucene.apache.org/solr/guide/6_6/zookeeper-access-control.htmlAt the
Zookeeper level, I was able to add one user with /crdwa/ access.The moment I
add another user with read-only access / r/. The first user gets overridden
with read-only access. Please see the output below :WatchedEvent
state:SyncConnected type:None path:null[zk: localhost:2181(CONNECTED) 0] 
addauth digest user1:password1[zk: localhost:2181(CONNECTED) 1] setAcl
/newznode auth:user1:password1:crdwacZxid = 0xectime = Thu Nov 07 13:29:43
IST 2019mZxid = 0xemtime = Thu Nov 07 13:29:43 IST 2019pZxid = 0xecversion =
0dataVersion = 0aclVersion = 1ephemeralOwner = 0x0dataLength = 8numChildren
= 0[zk: localhost:2181(CONNECTED) 2] getAcl
/newznode'digest,'user1:XDkd2dsEuhc9ImU3q8pa8UOdtpI=: cdrwa[zk:
localhost:2181(CONNECTED) 3] addauth digest user2:password2[zk:
localhost:2181(CONNECTED) 4] setAcl /newznode auth:user2:password2:rcZxid =
0xectime = Thu Nov 07 13:29:43 IST 2019mZxid = 0xemtime = Thu Nov 07
13:29:43 IST 2019pZxid = 0xecversion = 0dataVersion = 0aclVersion =
2ephemeralOwner = 0x0dataLength = 8numChildren = 0[zk:
localhost:2181(CONNECTED) 5] getAcl
/newznode'digest,'user1:XDkd2dsEuhc9ImU3q8pa8UOdtpI=:
r'digest,'user2:lo/iTtNMP+gEZlpUNaCqLYO3i5U=: rPlease let me know if I an
doing this incorrectly.Any pointers are appreciated.



--
Sent from: http://zookeeper-user.578899.n2.nabble.com/

Reply via email to