git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6ef3c98
)
lib/ldb-samba/ldb_ildap: Also skip special base DNs
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 16 Sep 2013 21:22:53 +0000
(14:22 -0700)
committer
Nadezhda Ivanova
<nivanova@samba.org>
Tue, 17 Sep 2013 03:56:56 +0000
(
05:56
+0200)
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>
lib/ldb-samba/ldb_ildap.c
patch
|
blob
|
history
diff --git
a/lib/ldb-samba/ldb_ildap.c
b/lib/ldb-samba/ldb_ildap.c
index 3c28690bd66edd1db09fb49e268db280a90663b5..18853ebccf733ef28bcfb472f779451daa228660 100644
(file)
--- 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;