[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: DN with semicolon does not work

The error is in back-bdb/cache.c:339 where a DN is "naively"
explored stopping at a DN_SEAPARTOR(); the ';' is a valid
rdn separator, and, even in normalized mode, it is not escaped.
I see two solutions: use LDAPDN routines to run thru the DN,
or always expair escape ';' in DN.


> I suggest you hack one of the test scripts to demonstrate
> the problem and then file an ITS.
> At 12:26 AM 5/6/2004, Michael Ströder wrote:
>>It seems it's not possible to add an entry containing a correctly
>> escaped semicolon and read it afterwards. Instead noSuchObject is
>> returned. Tested with OPENLDAP_REL_ENG_2_2.
>>The very same operations work with other LDAP servers.
>>Ciao, Michael.

Pierangelo Masarati

    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497