summaryrefslogtreecommitdiff
path: root/source4/rpc_server/netlogon
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2018-03-22 16:54:59 +1300
committerGarming Sam <garming@samba.org>2018-05-04 06:12:10 +0200
commit0b6186bfce3f0f251ea57c7a01d0bf608fdb1805 (patch)
tree13f94412819034f81fccafdec7a1a58d1677c69c /source4/rpc_server/netlogon
parent53ff08a2cf838c0f1c3f050ac2aa13fc3acc5981 (diff)
downloadsamba-0b6186bfce3f0f251ea57c7a01d0bf608fdb1805.tar.gz
netlogon: Add a comment regarding one of the DC location calls
It appears to be basically deprecated, as it was superceded by other calls. Presumably it is also unused. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13365 Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/rpc_server/netlogon')
-rw-r--r--source4/rpc_server/netlogon/dcerpc_netlogon.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c
index 60761b8b3ee..cab27d20b16 100644
--- a/source4/rpc_server/netlogon/dcerpc_netlogon.c
+++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c
@@ -2953,10 +2953,14 @@ static WERROR dcesrv_netr_DsRGetDCNameEx(struct dcesrv_call_state *dce_call, TAL
}
/*
- netr_DsRGetDCName
-*/
+ * netr_DsRGetDCName
+ *
+ * This function is a predecessor to DsrGetDcNameEx2 according to [MS-NRPC].
+ * Although it has a site-guid parameter, the documentation 3.5.4.3.3 DsrGetDcName
+ * insists that it be ignored.
+ */
static WERROR dcesrv_netr_DsRGetDCName(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
- struct netr_DsRGetDCName *r)
+ struct netr_DsRGetDCName *r)
{
struct netr_DsRGetDCNameEx2 r2;
WERROR werr;