[ANNOUNCE] python-ad

Geert Jansen geert at boskant.nl
Tue Dec 11 22:28:02 CET 2007


Michael Ströder wrote:

>
> Well, setting an env var is not really a good choice when running within
> a multi-threaded web application... :-/
>   

I was thinking how one could solve the problem of per-thread credentials
in python-ldap (or python-ad).. I think it can be done with the keyring
credential cache code that is in recent MIT Kerberos distributions.
Per-thread keyrings exist so if you set $KRB5CCNAME to
"KEYRING:thread:default" then you should be able to use per-thread
credentials.

Regards, Geert



More information about the python-ldap mailing list