samba-tool domain join subdomain: Set "reveal_internals:0" control so we can see...
authorAndrew Bartlett <abartlet@samba.org>
Mon, 16 Sep 2013 17:23:07 +0000 (10:23 -0700)
committerStefan Metzmacher <metze@samba.org>
Mon, 16 Sep 2013 17:36:18 +0000 (19:36 +0200)
commita5e4c4520af9f7a99aac4117d1225c85b891554d
tree2e99c1a62bc42bdee127b6efe8e20eeefeb1eb0e
parent347b2c65a4b8c219cfdae3306fdc3d793980cbed
samba-tool domain join subdomain: Set "reveal_internals:0" control so we can see the ncName

The issue here is that we create the ncName remotely with DsAddEntry,
and then replicate it back.  However, at this point the naming context
pointed at by the ncName does not exist!  The issue is that the
extended_dn_out module then hides the link, because it points to a
missing object.  The reveal_internals control forces this link to be
returned, and so we can then find the GUID, to create the domain with
the right GUID.

Andrew Bartlett

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
python/samba/join.py