sasl_encode don't work using NTLM

"Breitenbücher, Viktor" vic.b at freenet.de
Mon Sep 19 08:15:34 EDT 2011


Hi all

I'm developing an application for the mac, which authenticates to my own windows service (with NTLM). On the windows-side I'm using the sspi-functionality, which works fine.

On the mac-side I trying to implement the authentication with cyrus-sasl. The authentication self works fine, but now I need to crypt my packets, sending to server over tcp.

For those purposes there are two functions in the sasl-library "sasl_encode" and "sasl_decode". After successfully authenticated I want to send my first crypted command to the service and put the data through the sasl_encode function. On output I get a new data block filled with zeros...

Does the sasl-library not supports encryption while using the NTLM mechnism? Or did I miss something, pass a property flag or else while authenticating?


More information about the Cyrus-sasl mailing list