winbindd_irpc: Add an IRPC call to trigger a DC locate
authorGarming Sam <garming@catalyst.net.nz>
Tue, 20 Mar 2018 22:25:19 +0000 (11:25 +1300)
committerGarming Sam <garming@samba.org>
Fri, 4 May 2018 04:12:10 +0000 (06:12 +0200)
commit7d23177cea2a919ec37177954448d090e84a13fe
tree463e76dfeec677362818b9eda9f148296ccc7972
parent972659eb29b7ae496cb2558dfc75ad7f4b9dc4ff
winbindd_irpc: Add an IRPC call to trigger a DC locate

Calling the top level winbindd API would probably be more appropriate,
but we lack certain structures. We introduce this call in order to
return the result to NETLOGON (in order to give site-aware and domain
aware DC location).

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>
source3/winbindd/winbindd_irpc.c