samba-tool domain join: Set drsuapi.DRSUAPI_DRS_GET_ANC during initial repl
authorAndrew Bartlett <abartlet@samba.org>
Wed, 9 Dec 2015 04:04:14 +0000 (17:04 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 6 Jun 2016 06:50:09 +0000 (08:50 +0200)
commitca2e038aa5221d80a2a84aa1d65c3c246502ddc5
treeea66ad1333357e98bdefac898ee444ad4c3c7e15
parentd103aabcf59cf376b21b7714d14878359fb3e157
samba-tool domain join: Set drsuapi.DRSUAPI_DRS_GET_ANC during initial repl

This is needed so that we get parents before children.

We need this to ensure that we always know the correct parent for a
new child object, rather than just trusting the DN string

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
python/samba/join.py
source4/libnet/libnet_become_dc.c