1
0
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:
Andrew Bartlett 2013-09-16 14:22:53 -07:00 committed by Nadezhda Ivanova
parent 6ef3c98ade
commit f2bccebd91

View File

@ -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;