winbindd: Do not overwrite domain list with conflicting info from a trusted domain
authorAndrew Bartlett <abartlet@samba.org>
Sun, 5 Oct 2014 05:32:09 +0000 (18:32 +1300)
committerMichael Adam <obnox@samba.org>
Mon, 6 Oct 2014 15:21:03 +0000 (17:21 +0200)
commit92ca4f52ae093e14d39b8853a34ffa8be6a3d492
treee01f55533c1945934f67bea5d61f5e849c43d21f
parent7b4f266ef059fbab5ed1cf50ca347fb9985f02dc
winbindd: Do not overwrite domain list with conflicting info from a trusted domain

This places less trust in our primary DC or trusted domain DC and refuses to update info that is conflicting

This does not currently reject the connection to the DC, but only ensures it can only update missing information or to correct the case of the domain.

Andrew Bartlett

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Mon Oct  6 17:21:03 CEST 2014 on sn-devel-104
source3/winbindd/winbindd_cm.c