1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r2556: fixed the -s one bug that jelmer pointed out

This commit is contained in:
Andrew Tridgell 2004-09-23 02:21:51 +00:00 committed by Gerald (Jerry) Carter
parent c9d6827312
commit 03c38477ad

View File

@ -218,7 +218,7 @@ static int scope_match(const char *dn, const char *base, enum ldb_scope scope)
base_len = strlen(base);
dn_len = strlen(dn);
if (ldb_dn_cmp(dn, base) == 0) {
if (scope != LDB_SCOPE_ONELEVEL && ldb_dn_cmp(dn, base) == 0) {
return 1;
}