netlogon: Store the client site to clobber any plausibly returned via winbind
authorGarming Sam <garming@catalyst.net.nz>
Mon, 26 Mar 2018 01:32:07 +0000 (14:32 +1300)
committerGarming Sam <garming@samba.org>
Fri, 4 May 2018 04:12:11 +0000 (06:12 +0200)
commit7b56b522d49f3e20dc2ea3819a82f742e614ea9c
tree8011fc5214d65fe0a71ffdae163fcefe0b30fce1
parent6d188fe05b7860e3abd7cfcc21ce1390bbfd8a71
netlogon: Store the client site to clobber any plausibly returned via winbind

So far, I have never observed the case where the winbind call ever
bothered to return a proper site, but in case it ever does so, we
clobber it here. This has implications for returning a non-local domain
site name, but for now, we ignore them.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13365

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/rpc_server/netlogon/dcerpc_netlogon.c