Bug in LDB's handling of escaped characters in DNs

Jelmer Vernooij jelmer at samba.org
Tue Jan 3 23:58:10 GMT 2006


While debugging a problem in the upgrade script this evening, I
couldn't get LDB to correctly parse a DN that contains escaped 
characters. I also couldn't find any testcases that contained 
DNs with escaped characters. 

For example:

./bin/ldbadd -H foo.ldb <<EOF
dn: foo=bar\;,blah=blie
foo: bar;
Error: Unable to parse dn 'foo=bar\;,blah=blie'
Added 0 records with 0 failures


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20060104/1fcf9690/attachment.bin

More information about the samba-technical mailing list