You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@zookeeper.apache.org by GitBox <gi...@apache.org> on 2021/02/01 08:36:28 UTC
[GitHub] [zookeeper] cuibo01 edited a comment on pull request #1134: ZOOKEEPER-1112: Add (Cyrus) SASL authentication support to C client library
cuibo01 edited a comment on pull request #1134:
URL: https://github.com/apache/zookeeper/pull/1134#issuecomment-770675511
> Hi @cuibo01 !
>
> I'm not sure about jacc.conf , I never used that. I only use the C client very rarely. You can use a bit nicer CLI parameters for more recent ZK versions. E.g. with my zookeeper I usually do a "kinit", then using the C CLI with parameters, like:
>
> ```
> ./cli_mt -h <zk-server-host>:2181 --mechlist GSSAPI --user <kerberos principal username> --realm <kerberos principal realm> --server-fqdn <kerberos principal host> --debug
> ```
>
> Although I don't really remember from which ZK version we are supporting this CLI parameter format...
>
> If you need more info, then please use the zookeeper "user" mailing list ([user@zookeeper.apache.org](mailto:user@zookeeper.apache.org), see https://zookeeper.apache.org/lists.html). There is a good chance that more people in the ZooKeeper community already did this configuration and can help you.
thx @symat
if principal is user/host1@CC.COM:
--user is user
--realm is CC.COM
--server-fqdn is host1
right? and do not need set password with kerberos?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org