summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-08-24 15:53:58 +1000
committerAndrew Tridgell <tridge@samba.org>2011-08-25 01:10:13 +0200
commit68a42bd76274fbee37270b2eaa34ffb1c96068a9 (patch)
tree2e5f67609165039846fbd6ca4e12665d21f9e2ba /source4
parentb2c6b0122f88767abd6685117066c793e8191b6f (diff)
downloadsamba-68a42bd76274fbee37270b2eaa34ffb1c96068a9.tar.gz
samba-68a42bd76274fbee37270b2eaa34ffb1c96068a9.tar.bz2
samba-68a42bd76274fbee37270b2eaa34ffb1c96068a9.zip
s4-dsdb: fixed use of RMD flags in ldb search in dirsync module
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
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/dirsync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/dirsync.c b/source4/dsdb/samdb/ldb_modules/dirsync.c
index 6a5703ab5f..676aaff21a 100644
--- 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;