mete bilgin wrote: > i'm trying to connect ldap into python. when i give it to true username > and password, nothing going wrong...But i try to wrong password ,the > server shutdown...How can i pass that.
What does "the server shutdown" mean exactly. Is it stopped? > ps: > ldap_server=ldap.open('localhost') > ldap_server.protocol_version = ldap.VERSION3 > try: > ldap_server.simple_bind_s(word,password) > return 'bind yapıldı' > ldap_server.unbind() > except ldap.LDAPError, e: > return e Frankly you did not provide enough information. I'd set client-side logging options in python-ldap (see Demo/initialize.py) and examine the server logs. Which server vendor and version is that? Ciao, Michael. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Python-LDAP-dev mailing list Python-LDAP-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/python-ldap-dev