replmd: Send RODC referrals preferably to the PDC
authorGarming Sam <garming@catalyst.net.nz>
Tue, 4 Apr 2017 01:13:16 +0000 (13:13 +1200)
committerGarming Sam <garming@samba.org>
Thu, 13 Apr 2017 05:29:16 +0000 (07:29 +0200)
commitc7a8a9c991d1601c9c8676303798ee574b4267a0
tree8b7996c2965a9a93297ac23ac05d930826f96815
parentacc66d91b2755e0535113cdbbec1c50ddb4a54a7
replmd: Send RODC referrals preferably to the PDC

The Windows protocol test suites check that a particular DC is used when
sending referrals.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12008
source4/dsdb/samdb/ldb_modules/repl_meta_data.c