samba-tool:provision: fix bug 11600
authorRowland Penny <repenny241155@gmail.com>
Mon, 16 Nov 2015 16:22:31 +0000 (16:22 +0000)
committerMichael Adam <obnox@samba.org>
Sat, 21 Nov 2015 03:44:58 +0000 (04:44 +0100)
commit0111773310ea1ef63ab0d7b256f29aa7e27b545b
treec8115a5ffe511218d0d9c053a7a21926279a5b8f
parent8fdda6fa96df35e02ac8ed1f7add46efc528683e
samba-tool:provision: fix bug 11600

If you join a second DC after changing the name of
the 'Default Domain Policy' or 'Default Domain Controllers
Policy' the join will fail as the search is hardcoded to
these names, this fix changes the search to the objects name.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11600

Signed-off-by: Rowland Penny <repenny241155@gmail.com>
Reviewed-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Sat Nov 21 04:44:58 CET 2015 on sn-devel-104
python/samba/provision/__init__.py