[Kolab-devel] [issue1880] Poor handling of apostrophes in ldap and admin webpages

Shane O'Donnell kolab-issues at intevation.de
Sun Jul 29 10:06:07 CEST 2007


New submission from Shane O'Donnell <kolab at sto-lat.co.uk>:

Kolab-2.1 for gentoo installed without a hitch, but then I added myself as a 
user.

First Name: Shane
Last Name: O'Donnell

This displays as "O\'Donnell, Shane" in the list of users, and when clicking on 
Modify I get the following:

Warning: ldap_read() [function.ldap-read]: Search: Invalid DN syntax 
in /usr/share/php/kolab/admin/include/ldap.class.php on line 130

Errors:
LDAP Error: No such dn: cn=Shane O\\5C\'Donnell,dc=**,dc=co,dc=uk: Invalid DN 
syntax

The entry shown by ldapsearch is:

# Shane O\5C'Donnell, **.co.uk
dn: cn=Shane O\5C'Donnell,dc=**,dc=co,dc=uk
objectClass: top
objectClass: inetOrgPerson
objectClass: kolabInetOrgPerson
sn: O\'Donnell
cn: Shane O\'Donnell
givenName: Shane
mail: shane@**.co.uk
uid: shane
kolabHomeServer: oddity.**.co.uk
kolabInvitationPolicy: ACT_MANUAL

----------
messages: 11406
nosy: Shane
priority: bug
status: unread
title: Poor handling of apostrophes in ldap and admin webpages
________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://intevation.de/roundup/kolab/issue1880>
________________________________________________




More information about the devel mailing list