problem with ldap_sasl_bind

Michael Ströder michael at stroeder.com
Fri May 13 16:42:22 CEST 2005


Ali Fawaz wrote:
> 
> l.sasl_interactive_bind_s("uid=afawaz,cn=users,dc=arteris,dc=net","Mona3592")
> [..]
> AttributeError: 'str' object has no attribute 'mech'

The second argument is not a string. Please have a look at files
Demo/sasl_bind.py and Lib/ldap/sasl.py in the source distribution.

Ciao, Michael.



More information about the python-ldap mailing list