zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From FANG Yang <fa...@douban.com>
Subject invalid acl for ZOO_CREATOR_ALL_ACL
Date Tue, 19 Oct 2010 06:50:59 GMT
hi, all
    I have a simple zk client written by c ,which is attachment  #1. When i
use  ZOO_CREATOR_ALL_ACL, the ret code of zoo_create is -114((Invalid ACL
specified definde in zookeeper.h)), but after i replace it with
ZOO_OPEN_ACL_UNSAFE, it work. Zookeeper Programmer's Guide mention that
CREATE_ALL_ACL grants all permissions to the creator of the node. The
creator must have been authenticated by the server (for example, using
“digest” scheme) before it can create nodes with this ACL. I call
zoo_add_auth accroding to func testAuth of TestClient.cc in src/c/tests in
my source code, but it doesn't work, ret code is still -114 . Would you guys
do me a favor, plz?

方阳 FANG Yang
开发工程师 Software Engineer
Douban Inc.
No.14 Jiuxianqiao Road, Area 51 A1-1-2016, Beijing 100016 , China

  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message