summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-30 15:24:58 -0700
committerAndrew Tridgell <tridge@samba.org>2010-09-30 20:11:15 -0700
commitc03d02d28e7d9e908fa0553006282184487d2c8c (patch)
treefbfcd1c6a5138aef435e7d9b66194a85d4595f5d
parent694f2876c9da51dc16a00d45de92edf8884dfbed (diff)
downloadsamba-c03d02d28e7d9e908fa0553006282184487d2c8c.tar.gz
samba-c03d02d28e7d9e908fa0553006282184487d2c8c.tar.bz2
samba-c03d02d28e7d9e908fa0553006282184487d2c8c.zip
s4-rodc: don't set SPECIAL_SECRET_PROCESSING on EXOP_REPL_SECRET
otherwise we don't get the secrets! Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--source4/dsdb/repl/drepl_out_helpers.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/dsdb/repl/drepl_out_helpers.c b/source4/dsdb/repl/drepl_out_helpers.c
index 2a32e5ca04..f83cdda56d 100644
--- a/source4/dsdb/repl/drepl_out_helpers.c
+++ b/source4/dsdb/repl/drepl_out_helpers.c
@@ -384,6 +384,9 @@ static void dreplsrv_op_pull_source_get_changes_trigger(struct tevent_req *req)
DEBUG(0,(__location__ ": Failed to construct partial attribute set : %s\n", nt_errstr(status)));
return;
}
+ if (state->op->extended_op == DRSUAPI_EXOP_REPL_SECRET) {
+ replica_flags &= ~DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING;
+ }
}
r->in.bind_handle = &drsuapi->bind_handle;