1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

s4-drs: need to set the getncchanges extended_ret on success too

This commit is contained in:
Andrew Tridgell 2010-01-09 15:12:18 +11:00
parent 7010fad4ea
commit 1158c13861

View File

@ -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;
}