diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-10-13 19:48:13 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-10-15 08:20:37 +1100 |
commit | 94897d7a7c5925983f362f498f78a32a26aa088b (patch) | |
tree | 1a3b456b3ac2922402e4263dacd0b89ced7f20ef /source4/dsdb/repl | |
parent | 424c464b7f34c91280c60953f6f81b0d3361e9e3 (diff) | |
download | samba-94897d7a7c5925983f362f498f78a32a26aa088b.tar.gz samba-94897d7a7c5925983f362f498f78a32a26aa088b.tar.bz2 samba-94897d7a7c5925983f362f498f78a32a26aa088b.zip |
s4-dsdb: added samdb_rodc() and samdb_ntds_options()
Later we will need to make samdb_rodc() look in the database, but for
now we should at least have the function in a central place
Diffstat (limited to 'source4/dsdb/repl')
-rw-r--r-- | source4/dsdb/repl/drepl_out_helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/repl/drepl_out_helpers.c b/source4/dsdb/repl/drepl_out_helpers.c index 598ceb58b9..c86956c42f 100644 --- a/source4/dsdb/repl/drepl_out_helpers.c +++ b/source4/dsdb/repl/drepl_out_helpers.c @@ -519,7 +519,7 @@ static void dreplsrv_update_refs_send(struct dreplsrv_op_pull_source_state *st) r->in.req.req1.options = DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE | DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE; - if (!lp_parm_bool(service->task->lp_ctx, NULL, "repl", "RODC", false)) { + if (!samdb_rodc(service->task->lp_ctx)) { r->in.req.req1.options |= DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE; } |