ensky / taiga-contrib-ldap-auth

Taiga plugin for LDAP authentication
http://taiga.io
GNU Affero General Public License v3.0
54 stars 37 forks source link

I can't login. Always receive: LDAP account or password incorrect: list index out of range #42

Open thiagoalmeidasa opened 8 years ago

thiagoalmeidasa commented 8 years ago

I'm getting this error from curl:

curl -X POST -H "Content-Type: application/json" -d '{
"type": "ldap",
"username": "username",
"password": "password"
}' http://taiga.domain/api/v1/auth
{"error_message": "LDAP account or password incorrect: list index out of range"}
thiagoalmeidasa commented 8 years ago

When I change the field LDAP_FULL_NAME_PROPERTY from cn to displayName it works. My cn field has 4 strings and my`displayName`` has just 2. Do you think it's crashing with the number of strings?

ffwd-txnx commented 8 years ago

I guess so! Would you find this superuser Q/A relevant?