Re: authentication with python-ldap

2013-05-25 Thread Dieter Maurer
Jorge Alberto Diaz Orozco wrote at 2013-5-25 14:00 -0400: >I have been doing the same thing and I tried to use java for testing the >credentials and they are correct. It works perfectly with java. >I really don´t know what we´re doing wrong. Neither do I. But the error message definitely origina

RE: authentication with python-ldap

2013-05-25 Thread Joseph L. Casale
> I have been doing the same thing and I tried to use java for testing the > credentials and they are correct. It works perfectly with java. > I really don´t know what we´re doing wrong. > > > You are accessing a protected operation of the LDAP server > and it (the server) rejects it due to invali

Re: authentication with python-ldap

2013-05-25 Thread Jorge Alberto Diaz Orozco
I have been doing the same thing and I tried to use java for testing the credentials and they are correct. It works perfectly with java. I really don´t know what we´re doing wrong. You are accessing a protected operation of the LDAP server and it (the server) rejects it due to invalid credential

Re: authentication with python-ldap

2013-05-24 Thread dieter
avazqu...@grm.uci.cu writes: > import ldap > conn = ldap.initialize("ldap://ldap.uci.cu";) > conn.protocol_version = ldap.VERSION3 > conn.simple_bind_s( "uid=xxx,dc=uci,dc=cu", "xxx" ) > > Result: > > Traceback (most recent call last): > File "", line 1, in > File "/usr/lib/python2.7/dist-pac

authentication with python-ldap

2013-05-23 Thread avazquezr
import ldap conn = ldap.initialize("ldap://ldap.uci.cu";) conn.protocol_version = ldap.VERSION3 conn.simple_bind_s( "uid=xxx,dc=uci,dc=cu", "xxx" ) Result: Traceback (most recent call last): File "", line 1, in File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 207, in simpl