[Tickets #11888] Add possibility for composite RDNs in LDAP
bugs at horde.org
bugs at horde.org
Fri Dec 14 18:29:47 UTC 2012
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/11888
------------------------------------------------------------------------------
Ticket | 11888
Created By | horde at mbox.tinloaf.de
Summary | Add possibility for composite RDNs in LDAP
Queue | Horde Framework Packages
Version | Git master
Type | Enhancement
State | New
Priority | 2. Medium
Milestone |
Patch | 1
Owners |
------------------------------------------------------------------------------
horde at mbox.tinloaf.de (2012-12-14 18:29) wrote:
The current version of Horde_Ldap does not allow composite RDNs to be
created (since lack of support for this in the quoteDN() function.
Please find attached a patch that fixes this. The new quoteDN()
function will be fully backwards compatible, with one additional
feature: If the array passed in contains any '+', it will switch to
'composite mode', concatenating the following key-value-pairs with '+'
(thus creating a composite RDN). If any ',' are in the array passed to
quoteDN, it will switch back to default behaviour and concatenate the
following key-value-pairs with ','.
I'm using this in Turba and opening a separate ticket for the patch to
be applied in Turba. I'll post a link to this ticket as soon as I
opened it.
The file to patch is 'lib/Horde/Ldap.php' from the Horde_Ldap PEAR package.
horde at mbox.tinloaf.de (2012-12-14 18:29) uploaded: Ldap.php.diff
http://bugs.horde.org/h/services/download/?module=whups&actionID=download_file&file=Ldap.php.diff&ticket=11888&fn=%2FLdap.php.diff
More information about the bugs
mailing list