On 26 ago, 13:42, Michael Ströder <[EMAIL PROTECTED]> wrote:
> Juan wrote:
> >     self.conn = ldap.initialize(self.host, self.port)
>  > [..]
> > LDAPError: (2, 'No such file or directory')
>
> You have to pass in a LDAP URI as documented 
> here:http://python-ldap.sourceforge.net/doc/html/ldap.html#ldap.initialize
>
> Use of compability function ldap.open() is deprecated and might vanish
> in future versions of python-ldap.
>
> See also Demo/initialize.py in python-ldap's source distribution.
>
> Ciao, Michael.

Perfect! Thank you very much.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to