# Ldap

**URL:** <https://www.debian-fr.org/t/ldap/58552>\
**Category:** Support Debian\
**Created:** [Février 21, 2016, 5:50 UTC](https://www.debian-fr.org/t/ldap/58552 "2016-02-21T17:50:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![koreimy](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/k/ea5d25/32.png) [@koreimy](https://www.debian-fr.org/u/koreimy)\
**Post date:** [Février 21, 2016, 5:50 UTC](https://www.debian-fr.org/t/ldap/58552/1 "2016-02-21T17:50:14Z")

</div>

j’ai quelques soucis sur mon annuaire LDAP,pour l’authentification j’utilise la librairie python-ldap mais ça me genere des erreurs suivantes:  
The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):  
File “/usr/local/lib/python2.7/dist-packages/cherrypy/\_cprequest.py”, line 656, in respond  
response.body = self.handler()  
File “/usr/local/lib/python2.7/dist-packages/cherrypy/lib/encoding.py”, line 188, in **call**  
self.body = self.oldhandler(\*args, \*\*kwargs)  
File “/usr/local/lib/python2.7/dist-packages/cherrypy/\_cpdispatch.py”, line 34, in **call**  
return self.callable(\*self.args, \*\*self.kwargs)  
File “[acceuil.py](http://acceuil.py)”, line 179, in creer\_Cpte  
c1.ajoutLdap()  
File “/home/brahim/Bureau/workspace\_cherrypy/Compte.py”, line 21, in ajoutLdap  
C.connexionAdminLdap()  
File “/home/brahim/Bureau/workspace\_cherrypy/ConnexionLDAP.py”, line 10, in connexionAdminLdap  
self.\_\_l.simple\_bind\_s(“uid=admin,ou=People,dc=lnlm,dc=africacte”,“erebi”)  
File “/usr/lib/python2.7/dist-packages/ldap/ldapobject.py”, line 208, in simple\_bind\_s  
resp\_type, resp\_data, resp\_msgid, resp\_ctrls = self.result3(msgid,all=1,timeout=self.timeout)  
File “/usr/lib/python2.7/dist-packages/ldap/ldapobject.py”, line 469, in result3  
resp\_ctrl\_classes=resp\_ctrl\_classes  
File “/usr/lib/python2.7/dist-packages/ldap/ldapobject.py”, line 476, in result4  
ldap\_result = self.\_ldap\_call(self.\_l.result4,msgid,all,timeout,add\_ctrls,add\_intermediates,add\_extop)  
File “/usr/lib/python2.7/dist-packages/ldap/ldapobject.py”, line 99, in \_ldap\_call  
result = func(\*args,\*\*kwargs)  
INVALID\_CREDENTIALS: {‘desc’: ‘Invalid credentials’}

s’il quelqu’un a une idee sera beaucoup sollicite  
je vous informe je suis un debutant en linux  
merci d’avance
