From f2bccebd913f023e3d99282be4e831d012cd3578 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 16 Sep 2013 14:22:53 -0700 Subject: 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 Reviewed-by: Nadezhda Ivanova --- lib/ldb-samba/ldb_ildap.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/ldb-samba') diff --git a/lib/ldb-samba/ldb_ildap.c b/lib/ldb-samba/ldb_ildap.c index 3c28690bd6..18853ebccf 100644 --- a/lib/ldb-samba/ldb_ildap.c +++ b/lib/ldb-samba/ldb_ildap.c @@ -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; -- cgit