mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
lib/ldb-samba/ldb_ildap: Also skip special base DNs
This is so we do not search for @REPLCHANGED against ldap Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Nadezhda Ivanova <nivanova@symas.com>
This commit is contained in:
parent
6ef3c98ade
commit
f2bccebd91
@ -681,6 +681,9 @@ static bool ildb_dn_is_special(struct ldb_request *req)
|
||||
struct ldb_dn *dn = NULL;
|
||||
|
||||
switch (req->operation) {
|
||||
case LDB_SEARCH:
|
||||
dn = req->op.search.base;
|
||||
break;
|
||||
case LDB_ADD:
|
||||
dn = req->op.add.message->dn;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user