svn commit: samba r10959 - in branches/SAMBA_4_0/source/lib/ldb/common: .

Simo Sorce idra at samba.org
Fri Oct 14 07:37:27 GMT 2005


On Fri, 2005-10-14 at 07:57 +1000, Andrew Bartlett wrote:
> On Thu, 2005-10-13 at 14:30 +0200, Simo Sorce wrote:
> > On Thu, 2005-10-13 at 21:30 +1000, Andrew Bartlett wrote:
> > > On Thu, 2005-10-13 at 10:02 +0000, metze at samba.org wrote:
> > > > Author: metze
> > > > Date: 2005-10-13 10:02:36 +0000 (Thu, 13 Oct 2005)
> > > > New Revision: 10959
> > > > 
> > > > WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10959
> > > > 
> > > > Log:
> > > > fix compiler warnings
> > > 
> > > Really I need to find the right way to express the DN components as
> > > strings (as they might contain embedded nulls).
> > 
> > You should escape them, see ldb_dn.c functions like ldb_dn_linearize()
> > Simo.
> 
> Will do.  But this still doesn't seem to handle NUL (\0) characters.

It does, see ldb_dn_escape_value() that is called by ldb_dn_linearize()

Simo.

-- 
Simo Sorce    -  idra at samba.org
Samba Team    -  http://www.samba.org
Italian Site  -  http://samba.xsec.it



More information about the samba-technical mailing list