Hi Arpit,
> I am trying to do SASL authentication between ZK and curator. […]
Okay.
> I am also setting -Dzookeeper.sasl.clientconfig="Client" system
> variable.
Looking at my deployments, I am specifying the location of the
configuration file using another system property:
-Djava.security.auth.login.config=/path/to/jaas.conf
> 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'.
It looks like your "JAAS config key" is explicitly set to a bogus value
(via the aforementioned system property or some other config file):
/<path to>/jaas.conf
HTH, -D