okelet at gmail.com
Wed Aug 27 01:04:40 CEST 2008
On 26 ago, 13:42, Michael Ströder <mich... at stroeder.com> 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.
More information about the Python-list