svn commit: samba r9318 -
in branches/SAMBA_4_0/source/lib/ldb/common: .
Stefan (metze) Metzmacher
metze at samba.org
Tue Aug 16 07:04:31 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
metze at samba.org schrieb:
> Author: metze
> Date: 2005-08-16 06:55:40 +0000 (Tue, 16 Aug 2005)
> New Revision: 9318
>
> WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9318
>
> Log:
> fix searches with scope ONE and SUB,
>
> the problem was that ldb_dn_compare_base() just looked at if
> both dn's mtach some how, and the following happens:
>
> basedn: CN=bar,DC=foo,DC=com
> dn: DC=foo,DC=com
>
> and dn: DC=foo,DC=com was return as result of a sub and base search
>
> and also the ONE search with
> basedn: DC=foo,DC=com
>
> returned this
>
> dn: CN=bla,CN=bar,DC=foo,DC=com
>
> metze
> Modified:
> branches/SAMBA_4_0/source/lib/ldb/common/ldb_dn.c
> branches/SAMBA_4_0/source/lib/ldb/common/ldb_match.c
BTW: many thanks to Holger Schmieder <schmieder at schmieder.de> for the bug report:-)
- --
metze
Stefan Metzmacher <metze at samba.org> www.samba.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-nr1 (Windows XP)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDAY/8m70gjA5TCD8RAs/7AJ9N2/vr31i4qG37Ke/DmGpIBe6b4gCdHg9X
Jspnt4z1Gfp7Paa281GbX04=
=btje
-----END PGP SIGNATURE-----
More information about the samba-cvs
mailing list