ldap.sasl.gssapi example?

Michael Ströder michael at stroeder.com
Fri Apr 9 21:52:43 CEST 2004

Gavin Doughtie wrote:
> Does the example below work on your system (or anybody else's on this 
> list?)

Yes, it simply works.

Due to my local setup without DNS I have to use kinit --no-addresses when 
obtaining the TGT.

After running the program I also have a ticket for the LDAP service.

$ klist
Credentials cache: FILE:/tmp/krb5cc_500
         Principal: michael at STROEDER.COM

   Issued           Expires          Principal
Apr  9 21:51:00  Apr 10 07:51:00  krbtgt/STROEDER.COM at STROEDER.COM
Apr  9 21:51:02  Apr 10 07:51:00  ldap/localhost at STROEDER.COM

Ciao, Michael.

More information about the python-ldap mailing list