You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Kapil Thangavelu (JIRA)" <ji...@apache.org> on 2010/04/29 02:19:50 UTC

[jira] Updated: (ZOOKEEPER-757) zkpython acl/auth usage broken

     [ 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.