diff options
-rw-r--r-- | lib/ldb-samba/ldb_ildap.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |