winbindd_cm: Call dcip_check_name even when fetching from cache
authorGarming Sam <garming@catalyst.net.nz>
Mon, 20 Mar 2017 22:56:39 +0000 (11:56 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 30 May 2017 06:06:06 +0000 (08:06 +0200)
commitac847898c8dbaeb16ca1f0fec24533441fc1a03c
tree63a2c5ba5b54ee33fc372f753cf7c64eb24a7a81
parent9d8a373523bde3899045cf7ff2e202e3f4f81612
winbindd_cm: Call dcip_check_name even when fetching from cache

This is so that we can ensure that the DC is RWDC if required.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/winbindd/winbindd_cm.c