netlogon: Allow zero-GUID to act the same as NULL in GetDCNameEx2
authorGarming Sam <garming@catalyst.net.nz>
Mon, 26 Mar 2018 23:19:31 +0000 (12:19 +1300)
committerGarming Sam <garming@samba.org>
Fri, 4 May 2018 07:11:19 +0000 (09:11 +0200)
commitd1730d6ff19b60ebf9f6b18aaa4afab733b18b25
tree554ad3030c3c40c4ec9eb59dba115cf72bda6a62
parent7b56b522d49f3e20dc2ea3819a82f742e614ea9c
netlogon: Allow zero-GUID to act the same as NULL in GetDCNameEx2

This matches Windows behaviour and allows rpcclient to work against
Samba without knowing the GUID ahead of time. Errors related to this
don't appear to occur within selftest.

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>
Autobuild-User(master): Garming Sam <garming@samba.org>
Autobuild-Date(master): Fri May  4 09:11:19 CEST 2018 on sn-devel-144
source4/rpc_server/netlogon/dcerpc_netlogon.c