replmd_delete quick questions

simo idra at samba.org
Fri Nov 13 17:22:28 MST 2009


On Fri, 2009-11-13 at 19:33 +1100, tridge at samba.org wrote:
> Hi Eduardo,
> 
> The problem you hit with renaming a object to have a DN with a
> \0ADEL:XXX suffix was caused by a mismatch in the DN escaping in ldb
> between the escaping and the unescaping rules.
> 
> The LDAP RFC2253 section 2.4 allows for 2 types of escaping. One form
> uses \c (so something like \" for a double quote). The other form uses
> \XX (which would be \22 for a double quote). The old code only
> accepted the \XX form, but only generated the \c form. This obviousn't
> didn't work!
> 
> I've now changed the ldb code to choose the right escaping mode
> depending on the character, and to always accept either type of escape
> type. This makes us follow RFC2253 much more closely.
> 
> So you can now do a rename containing a \0A in the CN, and it should
> work.
> 
> Simo, can you check that you agree with my changes? 

I gave a quick look at the patch and don't see anything against it.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>



More information about the samba-technical mailing list