Hi all,
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.

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
-------------------------------------------------------------------------
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

Reply via email to