6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/24/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#2940] LDAP entry fails when CN contains comma or multiple spaces
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__. __.. ..___ |_/ [__](__ |\ |[__ | \| |.__)| \||
Comment
> Turba's common name is in LDAP addressbook maped to the attribute cn. > This attribute is in LDAP schema inetOrgPerson classified as > required, rdn, i.e something like 'relative primary key'. In > sources.php the following mapping between turba and ldap attributes > is defined (snippet) > > > > '__key' => 'dn', > > 'name' => 'cn', > > 'firstname' => 'givenName', > > 'lastname' => 'sn' > > > > When cn contains comma, example common name = 'Doe, John' (that is > done when SyncML inserts new entry), LDAP server converts this > common name into the string 'cn=Doe\2C John'. When later any other > attribute of this record is modified, save complains about duplicate > record - error 68: Already exists (see the attached ldap.log). IMO > Horde compares the string 'Doe\2C John' with 'Doe, John'. Because > they differs, Horde evaluates this as primary key change and tries to > modify this key. The similar situation happens when common name > contains more then one space between words. This multiple spaces are > striped out by LDAP server before dn is saved. > >
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