Opened 9 years ago
Last modified 5 years ago
#924 new defect
LDAP authentication: configurable user attribute (currently: always 'uid')
|Reported by:||sumpfralle||Owned by:|
Currently user authentication works for a DN like the following:
Sadly the email retrieval fails to work since it relies on the fact that there is an attribute
This assumption is not always valid (see above:
Thus it would be reasonable to use the first part of the
LDAP_USER_DN_TEMPLATE for the filter condition within the email handling code (instead of
uid=USERNAME). See the attached patch for an implementation of this approach.
Change History (3)
by , 9 years ago
comment:1 by , 7 years ago
comment:2 by , 5 years ago
I've also submitted a patch in #5568 that deals with the assumption of
uid in a different way. Once difference is that my patch allows for a UPN to be used for the LDAP_USER_DN_TEMPLATE.
This would be great (in fact I am already using it).