Closed Bug 284280 Opened 20 years ago Closed 20 years ago

LDAP authentication for both uid and email

Categories

(Bugzilla :: User Accounts, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 284279

People

(Reporter: aleksey, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1

I recently migrated bugzilla installation from DB authentication to LDAP
authentication. One and the only one problem for the half of the users was the
fact that now login name is not an email but just uid without "@xxxxxxxx.xxx"
stuff at the end. I thought about making both LDAPuidattribute and
LDAPmailattribute parameters to point to the same mail LDAP attribute. But at
that time another half of the users already get used to a shorter uid login and
did not want to go back :) Thus I ended up creating a tiny patch to bugzilla's
LDAP auth module that modifies LDAP search to match the login username in both
LDAPuidattribute and LDAPmailattribute (see attached patch). This should not
impact performance much and it seems pretty safe to me. If you would like this
change, feel free to use it :) 


Reproducible: Always

Steps to Reproduce:
dup #284279

*** This bug has been marked as a duplicate of 284279 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Summary: LDAP authentication for both uid and email → LDAP authentication for both uid and email
You need to log in before you can comment on or make changes to this bug.