Summary | Construct userdn from parts of userid |
Queue | Passwd |
Queue Version | 5.0.1 |
Type | Enhancement |
State | Rejected |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | horde.org (at) registrations (dot) systeem (dot) com |
Created | 02/26/2014 (4172 days ago) |
Due | |
Updated | 02/27/2014 (4171 days ago) |
Assigned | |
Resolved | 02/27/2014 (4171 days ago) |
Milestone | |
Patch | Yes |
Assigned to Michael Slusarz
State ⇒ Rejected
'userdn' hook for Passwd 5.0.2.
Priority ⇒ 1. Low
New Attachment: Ldap.php.patch
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Passwd
Summary ⇒ Construct userdn from parts of userid
Type ⇒ Enhancement
State ⇒ New
uid=<user>, ... , dc=<domain>
but we authenticate users with their e-mail address <user>@<domain>
We used the usedn function in hooks.php to split the e-mail address
and generate correct DN for binding to LDAP server.
But now userdn hook is gone. In backends.local.php we can use userdn
but there is no way to split the userid in a way we can use it. The
only substitution that happens is for %u.
I though it will be useful if we can use parts of the userid. Proposed
patch splits userid into two <user> and <domain> and replaces %l with
<user> and %d with <domain> in userdn attribute.
Cheers,
Stoyan