[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121374#comment-13121374
 ] 

Tom Klonikowski commented on ZOOKEEPER-1112:
--------------------------------------------

I changed the code to actually use SASL instead of GSSAPI. It now supports 
DIGEST-MD5 und GSSAPI (and virtually any mech SASL supports). cli_mt works with 
GSSAPI, cli_st with DIGEST-MD5 and GSSAPI

Example: cli_st -u super -h zk-sasl-md5 -m DIGEST-MD5 ubook:2181

- requires libsasl2 and modules
- introduces -I/usr/include - breaks portability
- no tests yet
- client options have changed - see usage

Next will be adding tests and providing a patch. It'd be great if someone 
reviews this and takes care of the portability (compiler flag --with-sasl?).
                
> Add support for C client for SASL authentication
> ------------------------------------------------
>
>                 Key: ZOOKEEPER-1112
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1112
>             Project: ZooKeeper
>          Issue Type: New Feature
>            Reporter: Eugene Koontz
>
> Hopefully this would leverage the SASL server-side support provided by 
> ZOOKEEPER-938. It would be similar to the Java SASL client support also 
> provided in ZOOKEEPER-938.
> Java has built-in SASL support, but I'm not sure what C libraries are 
> available for SASL and if so, are they compatible with the Apache license.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to