6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/18/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#11888] Add possibility for composite RDNs in LDAP
*
Your Email Address
*
Spam protection
Enter the letters below:
._. __.. ..__ ._. | (__ |\ |[__) | _|_.__)| \|[__)_|_
Comment
> Just to point that I remove the calls to array_map with something > functionally equivalent. Magically all my problems are solved. In > particular I switchd from: > > public static function quoteDN($parts) > { > return implode( > ',', > array_map( > function($attribute) > { > if (is_array($attribute[0])) { > return implode( > '+', > array_map('self::_quoteRDN', $attribute) > ); > } else { > return self::_quoteRDN($attribute); > } > }, > $parts > ) > ); > } > > to: > > public static function quoteDN($parts) > { > $p1 = array(); > foreach( $parts as $attribute ) { > if (is_array($attribute[0])) { > $p2 = array(); > foreach( $attribute as $a ) { > $a2[] = self::_quoteRDN($a); > } > $p1[] = implode( '+', $a2 ); > } else { > $p1[] = self::_quoteRDN($attribute); > } > } > > return implode( > ',', > $p1 > ); > } > >
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