[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kapil Thangavelu updated ZOOKEEPER-757:
---------------------------------------

    Attachment: patch-test-acl-verify.diff

sample script that exhibits the problem, and a patch against trunk for a 
failing unit test.


i suspect the actual issue might be that zkpython isn't authenticating to 
zookeeper successfully.


> zkpython acl/auth usage broken
> ------------------------------
>
>                 Key: ZOOKEEPER-757
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-757
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: contrib-bindings
>    Affects Versions: 3.3.0, 3.4.0
>         Environment: ubuntu karmic / lucid  ... sun jdk 1.6.0_20 
>            Reporter: Kapil Thangavelu
>         Attachments: patch-test-acl-verify.diff
>
>
> I'm trying to use zookeeper via zkpython to set an acl on a node, and then 
> test that acl, by attempting to access the node with identity configured in 
> the acl. I've configured a super user, connect to zookeeper as the superuser, 
> and then create a node an acl with the all permission and a digest scheme for 
> a user. I then attempt to connect to zookeeper with as the user specified in 
> the acl, however i find that i end up not being able to touch the node to 
> perfom actoins like getChlidren without getting an unauthenticated exceptoin, 
> perhaps even more oddly i can't access the node with the super user (passed 
> in via system property on the cli via 
> Dzookeeper.DigestAuthenticationProvider.superDigest). Any attempt to acces 
> the node raises an exception
> zookeeper.NoAuthException: not authenticated
> i've attached a demonstration script that exhibits the problem, and a failing 
> unit test patch against trunk.
>               
>               

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to