diff options
author | Anatoliy Atanasov <anatoliy.atanasov@postpath.com> | 2010-03-01 14:16:59 +0200 |
---|---|---|
committer | Anatoliy Atanasov <anatoliy.atanasov@postpath.com> | 2010-03-01 14:17:32 +0200 |
commit | b73437fbaa1003f4737e237569489f7b2ba99486 (patch) | |
tree | 3d8111f149cbd0af1d5a1fdc43444dcb3cba2772 /source4/dsdb/repl/drepl_out_helpers.c | |
parent | c65abcf9d31e346f43c537e18d209b0e4ce04e48 (diff) | |
download | samba-b73437fbaa1003f4737e237569489f7b2ba99486.tar.gz samba-b73437fbaa1003f4737e237569489f7b2ba99486.tar.bz2 samba-b73437fbaa1003f4737e237569489f7b2ba99486.zip |
s4/rodc: Implement samdb_rodc with ldb context
Diffstat (limited to 'source4/dsdb/repl/drepl_out_helpers.c')
-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 7b819ac4c3..422617082a 100644 --- a/source4/dsdb/repl/drepl_out_helpers.c +++ b/source4/dsdb/repl/drepl_out_helpers.c @@ -548,7 +548,7 @@ static void dreplsrv_update_refs_trigger(struct tevent_req *req) r->in.req.req1.dest_dsa_dns_name = ntds_dns_name; r->in.req.req1.dest_dsa_guid = service->ntds_guid; r->in.req.req1.options = DRSUAPI_DRS_ADD_REF | DRSUAPI_DRS_DEL_REF; - if (!samdb_rodc(service->task->lp_ctx)) { + if (!samdb_rodc(service->samdb)) { r->in.req.req1.options |= DRSUAPI_DRS_WRIT_REP; } |