Ldap.initialize vs. ldap.open [was: Re: Segmention fault on redhat 9 on ldap_simple_bind_s]

Mauro Cicognini mcicogni at siosistemi.it
Wed Oct 1 11:48:03 CEST 2003


Michael Ströder wrote:

> Mauro Cicognini wrote:
>
>> Jens Vagelpohl wrote:
>>
>>> ldap.open is deprecated. Read the docs and use ldap.initialize instead.
>>
>>
>> May I say that I don't really care for ldap.initialize()? I must have 
>> missed something, but I really can't understand why the older style 
>> should be deprecated. What's the real win over using ldap.open()? :-\
>
> ldaps:// and ldapi://

You mean there's no way to open a secure LDAP connection other than 
using initialize()? Duh...

Anyway, thanks for the explanation.

BTW, what's "ldapi://"?

Mauro







More information about the python-ldap mailing list