LDAP configuration problem

LDAP configuration problem

by José Renato Castro Milanez -
Number of replies: 1

Hello friends, how are you?

I'm trying to configure LDAP on my moodle 2.4.1+ but without a success.

First, the LDAP is in another server and It's working fine doing a search with ldapsearch tool:

ldapsearch -b "ou=people,dc=test,dc=com,dc=br" -h hostname -D "cn=moodleusers,dc=test,dc=com,dc=br" -w "xxx"

The result for above is (i just changed some private information for XXX):

# extended LDIF
#
# LDAPv3
# base <ou=people,dc=test,dc=com,dc=br> with scope subtree
# filter: mail=jrcmilanez*
# requesting: ALL
#

# 05097769651, people, test.com.br
dn: uid=05097769651,ou=people,dc=test,dc=com,dc=br
sn: Renato Castro Milanez
brPersonCPF: 05097769651
mail: XXXXXXXXXXXXXX
uid: 05097769651
eduPersonPrincipalName: 05097769651@test.com.br
objectClass: top
objectClass: brPerson
objectClass: eduPerson
objectClass: inetOrgPerson
objectClass: schacPersonalCharacteristics
schacDateOfBirth: XXXXXXXX
schacSn1: email alternativo
schacSn2: XXXXXXXXX
userPassword:: XXXXXXXXXX
cn: Jose

Well, when I try to log in, I got a non user or wrong password error. I think it's a LDAP problem.

Someboy can help me?

Average of ratings: -