summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorAnatoliy Atanasov <anatoliy.atanasov@postpath.com>2010-03-01 14:16:59 +0200
committerAnatoliy Atanasov <anatoliy.atanasov@postpath.com>2010-03-01 14:17:32 +0200
commitb73437fbaa1003f4737e237569489f7b2ba99486 (patch)
tree3d8111f149cbd0af1d5a1fdc43444dcb3cba2772 /source4/rpc_server
parentc65abcf9d31e346f43c537e18d209b0e4ce04e48 (diff)
downloadsamba-b73437fbaa1003f4737e237569489f7b2ba99486.tar.gz
samba-b73437fbaa1003f4737e237569489f7b2ba99486.tar.bz2
samba-b73437fbaa1003f4737e237569489f7b2ba99486.zip
s4/rodc: Implement samdb_rodc with ldb context
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/drsuapi/getncchanges.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/drsuapi/getncchanges.c b/source4/rpc_server/drsuapi/getncchanges.c
index ac277e58b8..c65d10d35c 100644
--- a/source4/rpc_server/drsuapi/getncchanges.c
+++ b/source4/rpc_server/drsuapi/getncchanges.c
@@ -692,7 +692,7 @@ WERROR dcesrv_drsuapi_DsGetNCChanges(struct dcesrv_call_state *dce_call, TALLOC_
r->out.ctr->ctr6.uptodateness_vector = NULL;
/* a RODC doesn't allow for any replication */
- if (samdb_rodc(ldb_get_opaque(b_state->sam_ctx, "loadparm"))) {
+ if (samdb_rodc(b_state->sam_ctx)) {
DEBUG(0,(__location__ ": DsGetNCChanges attempt on RODC\n"));
return WERR_DS_DRA_SOURCE_DISABLED;
}