git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2c6b01
)
s4-dsdb: fixed use of RMD flags in ldb search in dirsync module
author
Andrew Tridgell
<tridge@samba.org>
Wed, 24 Aug 2011 05:53:58 +0000
(15:53 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 24 Aug 2011 23:10:13 +0000
(
01:10
+0200)
I'm pretty sure a SHOW_DELETED was wanted here
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Aug 25 01:10:13 CEST 2011 on sn-devel-104
source4/dsdb/samdb/ldb_modules/dirsync.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/samdb/ldb_modules/dirsync.c
b/source4/dsdb/samdb/ldb_modules/dirsync.c
index 6a5703ab5f11d9442c081157d267434498d4ab32..676aaff21abbfccfb664345d23f99e1072680f5a 100644
(file)
--- a/
source4/dsdb/samdb/ldb_modules/dirsync.c
+++ b/
source4/dsdb/samdb/ldb_modules/dirsync.c
@@
-845,8
+845,8
@@
static int dirsync_search_callback(struct ldb_request *req, struct ldb_reply *ar
}
flags = DSDB_FLAG_NEXT_MODULE |
-
DSDB_RMD_FLAG
_DELETED |
-
DSDB_SEARCH_SHOW_EXTENDED_DN;
+
DSDB_SEARCH_SHOW
_DELETED |
+ DSDB_SEARCH_SHOW_EXTENDED_DN;
if (dsc->assystem) {
flags = flags | DSDB_FLAG_AS_SYSTEM;