1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

r19725: sync samba3's ldb with samba4

metze
(This used to be commit 207643e9c9)
This commit is contained in:
Stefan Metzmacher
2006-11-15 17:34:20 +00:00
committed by Gerald (Jerry) Carter
parent 06715191dd
commit 866a3b6e40
31 changed files with 1811 additions and 629 deletions

View File

@ -58,7 +58,7 @@ static int ldb_match_scope(struct ldb_context *ldb,
break;
case LDB_SCOPE_ONELEVEL:
if (dn->comp_num == (base->comp_num + 1)) {
if (ldb_dn_get_comp_num(dn) == (ldb_dn_get_comp_num(base) + 1)) {
if (ldb_dn_compare_base(ldb, base, dn) == 0) {
ret = 1;
}