ldap.sasl.gssapi example?

Michael Ströder michael at stroeder.com
Wed Apr 7 01:23:54 CEST 2004

Gavin Doughtie wrote:
> I'm running the Python script from an interactive shell, and I have a 
> Kerberos ticket. So far, everything is running as me with my tickets. As 
> far as the Python script having access -- well, as far as I can 
> understand things it *should* have access via the native sasl library 
> which, using GSSAPI, should go grab my ticket and present it to the LDAP 
> server.

Running as the same user?

> However, I think either the sasl_bind_interactive method is 
> broken or I'm not giving it the right information.

Hmm, maybe it's broken. Please raise debug level set with 
ldap.set_option(ldap.OPT_DEBUG_LEVEL,0). Maybe this gives some hints.

Ciao, Michael.

More information about the python-ldap mailing list