[Twisted-Python] LDAP Checker
Alessandro Ogier
alessandro.ogier at unimib.it
Mon Nov 7 08:09:28 EST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tommi Virtanen ha scritto:
> ldaptor.checkers.LDAPBindingChecker is a Checker as used by
> twisted.cred.
apropos this nice feature, it's possible not to make a connection every
authentication made ?
I simply setup a checker that way:
ldapChecker = LDAPBindingChecker(ldaptor.config.LDAPConfig())
p.registerChecker(ldapChecker)
and everything's ok, apart for the connections list that keeps growing.
Patching adding a pair of unbind() would be easy, but maybe there is a
best practice to implement.
i'm using 0.0.42
TIA,
- --
Alessandro Ogier <alessandro.ogier at unimib.it>
gpg --keyserver pgp.mit.edu --recv-keys EEBB4D0D
Universita` degli Studi di Milano - Bicocca
Sistemi Informativi
Via Cozzi 53 - I 20125 Milano Italy
Tel. +39 02 6448 5526
-----BEGIN PGP SIGNATURE-----
iEYEARECAAYFAkNvUggACgkQZmjYv+67TQ0uBwCfYXgmPfR7MNniqRdgYB/hKqhn
mpAAnjmC+vatV3ebn47p5lW+jSLfH6rO
=6Ypt
-----END PGP SIGNATURE-----
More information about the Twisted-Python
mailing list