ldap.sasl.gssapi example?

Michael Ströder michael at stroeder.com
Wed Apr 7 00:41:04 CEST 2004

Gavin Doughtie wrote:
> I need to use Kerberos authentication through GSSAPI to talk to our LDAP 
> server.

I don't have personal experience with such a setup.

>  I have a valid Kerberos ticket granting ticket, and I can use 
> the ldapadd utility to accomplish what I want on the server in question,
> [..]
> ldap.LOCAL_ERROR: {'desc': 'Local error'}

Just guessing:

Is the Python script running as the same user as your ldapadd test?

Does the Python script have access to the Kerberos ticket?

Ciao, Michael.

More information about the python-ldap mailing list