signature of ldap.open changed?

Michael Ströder michael at stroeder.com
Fri Feb 1 18:46:05 CET 2002


Michael Ströder wrote:
> 
> I have to admit I've never used open() in that way. I've checked in
> a modified version compliant to the old docs.

Note that ldap.open() wraps ldap_open() which is noted as
deprecated in OpenLDAP 2's ldap.h. Try to use ldap.initialize()
which wraps ldap_initialize() whereever possible. I've updated
most code examples under Demo/.

Ciao, Michael.




More information about the python-ldap mailing list