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:
committed by
Gerald (Jerry) Carter
parent
06715191dd
commit
866a3b6e40
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user