Project

General

Profile

User with apostophe in name gives LDAP login problems

Added by Stefan Beaubien over 11 years ago

Hi,

I've setup a redmine 2.0.3 on a ubuntu 12.04 server. I'm using LDAP authentication and everything worked fine until a user with an apostrophe in it's last name tried to register.
The person in charge of creating the Active Directory accounts created the user with the apostrophe in its last name ans also with the apostrophe in its email address, both are legal and valid (see email address specs).

He can register and the redmine admin can activate him, but when he tries to login with its Active Directory Id and password, Redmine refuses him.
So we modified the Active Directory to enable him the following names and addresses under its ID:

Steve O'brien, Steve Obrien
steve.o' ,

and it still doesn't work.

I have tried to set my LDAP authentification to:

attributes:

login: sAMAccountName
First Name: givenName
Last Name: sN
Email: email

also

attributes:

login: sAMAccountName
First Name: <empty>
Last Name: <empty>
Email: <empty>

Did you ever encountered that problem? If so how did you solve it?

Here is my environment data:
Ubuntu 12.04 server
Environment:
Redmine version 2.0.3.stable
Ruby version 1.9.3 (x86_64-linux)
Rails version 3.2.6
Environment production
Database adapter Mysql2
Redmine plugins:
redmine_information 1.0.1
mysql Ver 14.14 Distrib 5.5.24, for debian-linux-gnu (x86_64) using readline 6.2