6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
8/3/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12995] Construct userdn from parts of userid
*
Your Email Address
*
Spam protection
Enter the letters below:
. .\ /\ /. . __ | | >< >< | |/ ` |__|/ \/ \|__|\__.
Comment
> We use LDAP with DNs like this: > 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
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers