[python-ldap] ldap.sasl

Michael Ströder michael at stroeder.com
Tue Apr 9 18:53:47 CEST 2013


Oliver Loch wrote:
> are there any docs available on ldap.sasl?

No. There's only Demo/sasl_bind.py in the source distribution.

> And what does one do to check if the kerberos tickets are available, and if not, to generate them?

Usually you cannot deal with the Kerberos details in python-ldap.

You can use SASL/GSSAPI bind if the user invoking your python-ldap application
already obtained a TGT before (with kinit). The Kerberos libs used by the SASL
libs which are in turn used by OpenLDAP's libldap will automagically obtain a
service ticket then.

Ciao, Michael.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3883 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20130409/6ab1fabe/attachment.bin>


More information about the python-ldap mailing list