diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-06-28 09:19:48 +1000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-07-24 16:35:37 +0200 |
commit | 5e1f2795f28b0a213b4529e046edec68caa3bd41 (patch) | |
tree | 78b42afe41f272a85cfed17d3f7c52f70965eac5 /source4/rpc_server | |
parent | e9faf50ee123a8d1d647ebffa39107ca0dce756c (diff) | |
download | samba-5e1f2795f28b0a213b4529e046edec68caa3bd41.tar.gz samba-5e1f2795f28b0a213b4529e046edec68caa3bd41.tar.bz2 samba-5e1f2795f28b0a213b4529e046edec68caa3bd41.zip |
rpc_server-drsuapi: Improve comments and DEBUG lines
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/rpc_server')
-rw-r--r-- | source4/rpc_server/drsuapi/getncchanges.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source4/rpc_server/drsuapi/getncchanges.c b/source4/rpc_server/drsuapi/getncchanges.c index 5ee87cbfbf..9a405fd864 100644 --- a/source4/rpc_server/drsuapi/getncchanges.c +++ b/source4/rpc_server/drsuapi/getncchanges.c @@ -1128,8 +1128,7 @@ static WERROR getncchanges_change_master(struct drsuapi_bind_state *b_state, return WERR_OK; } - /* retrieve the current role owner */ - /* find the DN of the RID Manager */ + /* find the DN of the current role owner */ ret = samdb_reference_dn_is_our_ntdsa(ldb, req_dn, "fSMORoleOwner", &is_us); if (ret != LDB_SUCCESS) { DEBUG(0,("Failed to find fSMORoleOwner in RID Manager object\n")); @@ -1138,8 +1137,8 @@ static WERROR getncchanges_change_master(struct drsuapi_bind_state *b_state, } if (!is_us) { - /* we're not the RID Manager - go away */ - DEBUG(0,(__location__ ": RID Alloc request when not RID Manager\n")); + /* we're not the RID Manager or role owner - go away */ + DEBUG(0,(__location__ ": FSMO role or RID manager transfer owner request when not role owner\n")); ctr6->extended_ret = DRSUAPI_EXOP_ERR_FSMO_NOT_OWNER; return WERR_OK; } |