6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
3/29/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#3655] not deleting LDAP attributes
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .__ .__ .__ ._. [__)[ __[__)[ __ | | [_./| \[_./_|_
Comment
> I configured turba H3 2.0.4 to run with LDAP as source and had some > > some trouble with not deleted attributes. Some of the names of the > > attributes in the array $attributes were mixed case (even in > > sources.php.dist some of them in the map section are mixed case), > > although they are explicitly expected to be lower case for the > > decision to call ldap_mod_del. > > > > > > ./turba/config/sources.php.dist > > ------------------------------- > > $cfgSources['personal_ldap'] = array( > > [..] > > 'map' => array( > > [..] > > 'nickname' => 'displayName', > > 'website' => 'labeledURI', > > > > > > ./turba/lib/Driver/ldap.php > > --------------------------- > > /* The attributes in the attributes array are all lower case > > * while they are mixedCase in the search result. So convert > > * the keys to lower. */ > > $info = array_change_key_case($info, CASE_LOWER); > > [..] > > if (isset($attributes[$key]) && <-- but notset > > > > > > Although I have not tested it, the cvs code looks like to have the > > same problem.
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