Install problem [python-ldap-2.0.0pre04]
Michael Ströder
michael at stroeder.com
Sun Feb 10 19:04:46 CET 2002
Donal Hunt wrote:
>
> Is ldap.open still usable?
Yes. Mainly ldap.open() generates a LDAP URL and calls
ldap.initialize(). This is implemented in Python code (see
Lib/ldap/functions.py).
> or is the new standard to use LDAP URLs??
It is the new standard. OpenLDAP 2's ldap.h marks ldap_open() as
deprecated. Well, this does not mean a lot but ldap.initialize()
also enables your application to use ldaps:// (LDAP over SSL to
separate port) and ldapi:// (LDAP over Unix domain socket).
Ciao, Michael.
More information about the python-ldap
mailing list