Hi,

I am trying to do SASL authentication between ZK and curator. Principal for
curator is added in Kerberos server. While starting up curator, I see below
message in logs even though JAAS file has "Client" section. I am also
setting -Dzookeeper.sasl.clientconfig="Client" system variable.

*2020-01-06 11:38:06.443+0000 [L: WARN] [O: o.a.z.ClientCnxn] [I: ] [U: ]
[S: ] [P: platform] [T: localhost-startStop-1-SendThread(localhost:2181)]
SASL configuration failed: javax.security.auth.login.LoginException: No
JAAS configuration section named 'Client' was found in specified JAAS
configuration file: '/<path to>/jaas.conf'. Will continue connection to
Zookeeper server without SASL authentication, if Zookeeper server allows
it.*

I am using Curator version 4.2.0 and ZK version 3.5.6.

JAAS file looks like this:








*Client {       com.sun.security.auth.module.Krb5LoginModule required
 useKeyTab=true       keyTab="/<path to>/zkclient.keytab"
 storeKey=true       useTicketCache=false       principal="zkclient";};*

I am asking here as someone might have seen this issue and help me proceed.

Thanks

Reply via email to