Defect #2638

LDAP authentication should allow username to contain space(s)

Added by Bob Roberts over 8 years ago. Updated over 4 years ago.

Status:NewStart date:2009-02-01
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:LDAP
Target version:Candidate for next minor release
Resolution: Affected version:

Description

It is not uncommon for Windows AD servers to allow spaces in the user name (sAMAccountName) but currently redmine does not allow the user name to contain 1 or more spaces which means that when using LDAP to authenticate, it is not possible to use sAMAccountName to lookup users.

If there is not a technical reason for this limitation, would suggest the the regex scan for the user name allow spaces in the middle of user names, but not at the start or end.

See patch #811 supporting this change.


Related issues

Related to Redmine - Patch #811: Username validation - allow spaces... New 2008-03-08

History

#1 Updated by sebastian ovide about 7 years ago

any plans for it ?

#2 Updated by Etienne Massip about 6 years ago

  • Category changed from Accounts / authentication to LDAP

#3 Updated by Etienne Massip about 6 years ago

  • Target version set to Candidate for next minor release

#4 Updated by Antoine Rodriguez over 5 years ago

It's more an Issue. AD usernames with space cannot authenticate with Active Directory.

Confirmed on Redmine 2.0.1

Best regards,

#5 Updated by Piotr Karasinski over 4 years ago

+1

Also available in: Atom PDF