6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/16/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#3966] Move duplicate code to build RDN into new method to simplify subclassing of LDAP driver
*
Your Email Address
*
Spam protection
Enter the letters below:
. . __.. .. . __. |\ |(__ | |\ /(__ | \|.__)|/\| \/ .__)
Comment
> In turba/lib/Driver/ldap.php the RDN of objects is currently > assembled in two functions: _makeKey and _save (if an object is > renamed). I suggest to move the code that builds the RDN from the > attributes into a new method. With this change it becomes much easier > to subclass the LDAP driver and to build your own custom DNs. > Maintainance also becomes somewhat easier if no code is duplicated. > > > > I've attached a patch that introduces a new method called _makeRDN. > The patch was created using the files from Turba 2.1.1 but should > should apply against HEAD without problems.
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