summaryrefslogtreecommitdiff
path: root/source4/rpc_server/drsuapi
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-01-09 15:12:18 +1100
committerAndrew Tridgell <tridge@samba.org>2010-01-09 18:56:29 +1100
commit1158c138611d388fcae066a009cd6033a60a5944 (patch)
treeaa1da149307c73e5e979c17510b3b5caff383832 /source4/rpc_server/drsuapi
parent7010fad4eae6aa6a852a318ae59427525c9111d0 (diff)
downloadsamba-1158c138611d388fcae066a009cd6033a60a5944.tar.gz
samba-1158c138611d388fcae066a009cd6033a60a5944.tar.bz2
samba-1158c138611d388fcae066a009cd6033a60a5944.zip
s4-drs: need to set the getncchanges extended_ret on success too
Diffstat (limited to 'source4/rpc_server/drsuapi')
-rw-r--r--source4/rpc_server/drsuapi/getncchanges.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/rpc_server/drsuapi/getncchanges.c b/source4/rpc_server/drsuapi/getncchanges.c
index f9e2f98b2e..ad35de8833 100644
--- a/source4/rpc_server/drsuapi/getncchanges.c
+++ b/source4/rpc_server/drsuapi/getncchanges.c
@@ -650,6 +650,7 @@ static WERROR getncchanges_rid_alloc(struct drsuapi_bind_state *b_state,
if (ret != LDB_SUCCESS) {
DEBUG(0,(__location__ ": Failed to find fSMORoleOwner in RID Manager object - %s\n",
ldb_errstring(ldb)));
+ ctr6->extended_ret = DRSUAPI_EXOP_ERR_FSMO_NOT_OWNER;
return WERR_DS_DRA_INTERNAL_ERROR;
}
@@ -695,6 +696,8 @@ static WERROR getncchanges_rid_alloc(struct drsuapi_bind_state *b_state,
DEBUG(2,("Allocated RID pool for server %s\n",
GUID_string(mem_ctx, &req8->destination_dsa_guid)));
+ ctr6->extended_ret = DRSUAPI_EXOP_ERR_SUCCESS;
+
return WERR_OK;
}