authentication - no errors

Michael Ströder michael at stroeder.com
Thu May 8 12:43:55 CEST 2003


Michael Engelhart wrote:
 > OK - got my shiny new OpenLDAP 2.1.18 built and pre11 built and when I
 > run the following test script with an invalid password like this
 > [..]
 >         l.simple_bind(dn, password)

Well, the problem was so simple that I didn't notice it before.

          l.simple_bind_s(dn, password)
                       ^^^
Use the synchronous method!

Ciao, Michael.



More information about the python-ldap mailing list