Bug in LDB's handling of escaped characters in DNs
jelmer at samba.org
Sun Jan 8 13:01:26 GMT 2006
On Fri, Jan 06, 2006 at 04:40:50PM -0500, simo wrote about 'Re: Bug in LDB's handling of escaped characters in DNs':
> On ven, 2006-01-06 at 10:23 -0500, simo wrote:
> > On mer, 2006-01-04 at 00:58 +0100, Jelmer Vernooij wrote:
> > > ./bin/ldbadd -H foo.ldb <<EOF
> > > dn: foo=bar\;,blah=blie
> > > foo: bar;
> > > EOF
> > > Error: Unable to parse dn 'foo=bar\;,blah=blie'
> > > Added 0 records with 0 failures
> > Hi Jelmer, it's a bug.
> > Escaping in LDAP allows only hexadecimal values after '\' exctept for
> > some special values ( and ; is one of them ).
> > RFC 2253 has the details.
> Should be fixed now.
> It was a bug in the function that split up a DN into it's RDNs.
Many thanks for the fix! This hopefully fixes upgrading for people who
have special characters in their fullname fields when upgrading from
Jelmer Vernooij <jelmer at samba.org> - http://jelmer.vernstok.nl/
13:59:02 up 79 days, 3:03, 1 user, load average: 0.04, 0.02, 0.08
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20060108/b188a7e3/attachment.bin
More information about the samba-technical