ldap.ldapobject.SmartLDAPObject removed

Michael Ströder michael at stroeder.com
Fri Feb 5 13:34:32 CET 2010


Michael Ströder wrote:
> Well, SmartLDAPObject is not well tested nor documented and should probably be
> removed anyway...
> [..]
> Well, tls_cacertfile is simply not used in SmartLDAPObject.__init__(). The
> reason is that OpenLDAP libs 2.3 were not able to set connection-specific SSL
> options. It should work with OpenLDAP 2.4 under some circumstances but I never
> got it working.
> 
> => please either don't use SmartLDAPObject or contribute fixes for it
> Personally I'd vote for removing it.

In CVS HEAD I've removed the untested and undocumented wrapper class
ldap.ldapobject.SmartLDAPObject completely. Upcoming release 2.3.11 will not
contain it anymore. It never worked robustly like intended and it's not worth
the effort to fix it.

Ciao, Michael.


More information about the python-ldap mailing list