[python-ldap] GSSAPI and Active Directory
Michael Ströder
michael at stroeder.com
Fri Sep 2 20:26:19 CEST 2011
Rob McBroom wrote:
>> Does your Python code have access to the TGT cache?
>
> I don’t know how to test that directly, but like I said, it works when
> searching OpenLDAP so I have to assume it does. And the bind succeeds with
> the AD server. It’s only when searching that it complains. It seems to act
> as if the bind never took place. In fact, I just tested the script with the
> bind statement commented out and the error is the same.
I'd first set trace_level to 2 to check whether the bind method is called at all.
http://www.python-ldap.org/doc/html/ldap.html#ldap.initialize
Ciao, Michael.
More information about the python-ldap
mailing list