Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 07D859845 for ; Fri, 13 Apr 2012 16:33:30 +0000 (UTC) Received: (qmail 11084 invoked by uid 500); 13 Apr 2012 16:33:29 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 11028 invoked by uid 500); 13 Apr 2012 16:33:29 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Delivered-To: moderator for user@zookeeper.apache.org Received: (qmail 22208 invoked by uid 500); 13 Apr 2012 12:15:14 -0000 Delivered-To: apmail-hadoop-zookeeper-user@hadoop.apache.org X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.26 is neither permitted nor denied by domain of antoniomau@gmail.com) Date: Fri, 13 Apr 2012 05:14:47 -0700 (PDT) From: antoniom To: zookeeper-user@hadoop.apache.org Message-ID: <1334319287748-7462515.post@n2.nabble.com> Subject: Zookeeper SASL Vs Curator MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi there, First congrats for the great work you are doing with Zookeeper guys. Not sure if this is the correct address to place my question. Please let me know if it's the wrong one. I was wondering if someone is aware of any issue trying to use Curator against a Zookeeper Server that is set to use SASL. I have a zookeeper server with: "-Djava.security.auth.login.config=C:\apps\zookeeper-3.4.3\jaas.conf" and authProvider.1=org.apache.zookeeper.server.auth.SASLAuthenticationProvider and using the zkClient.sh everything works fine. When I try to do any operation using a Curator client I always get a KeeperErrorCode = AuthFailed for /path no matter if I pass System.setProperty("java.security.auth.login.config","C:\\path\\to\\jaas.conf"); before setting the Curator client. I'm using zookeeper 3.4.3 and Curator 1.1.5 (but I've tried with ZK 3.4.2 as well) Thanks Antonio -- View this message in context: http://zookeeper-user.578899.n2.nabble.com/Zookeeper-SASL-Vs-Curator-tp7462515p7462515.html Sent from the zookeeper-user mailing list archive at Nabble.com.