domain.py: Add base-schema option to samba-tool provision
authorTim Beale <timbeale@catalyst.net.nz>
Wed, 4 Oct 2017 20:53:28 +0000 (09:53 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 14 Dec 2017 07:20:16 +0000 (08:20 +0100)
commitea9cde92fb57d6b65581b0fb48b8f3f253cadc55
tree3cb4312407cda8df54921d9a38dadb232ff91f2a
parent1f60f5b51a8f510461f218ee1a5fc2ebbc9ac625
domain.py: Add base-schema option to samba-tool provision

Allow a different base-schema to be used when provisioning a new domain.
This allows us to test the new 2012 schema without committing Samba to
using it by default.

If, in future, we change the default to use the 2012 schema, some
existing Samba tests (like upgradeprovision) rely on the 2012 schema.
So making the base-schema optional allows these tests to continue using
the older schema.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/netcmd/domain.py