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 used to be commit 03c38477ad
)
This commit is contained in:
parent
169627d7f5
commit
54d33d5674
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user