From: Stefan Metzmacher Date: Thu, 23 Feb 2023 14:05:01 +0000 (+0100) Subject: samba-tool: let 'domain schemaupgrade' to use the 2019 schema by default X-Git-Tag: talloc-2.4.1~1308 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90faa58e7fb7cc7979f0e85bfcf9fc925879e8ce;p=thirdparty%2Fsamba.git samba-tool: let 'domain schemaupgrade' to use the 2019 schema by default Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- diff --git a/python/samba/netcmd/domain.py b/python/samba/netcmd/domain.py index 4f9d58d7952..7c91ec9c397 100644 --- a/python/samba/netcmd/domain.py +++ b/python/samba/netcmd/domain.py @@ -4139,9 +4139,9 @@ class cmd_domain_schema_upgrade(Command): Option("-q", "--quiet", help="Be quiet", action="store_true"), # unused Option("-v", "--verbose", help="Be verbose", action="store_true"), Option("--schema", type="choice", metavar="SCHEMA", - choices=["2012", "2012_R2"], - help="The schema file to upgrade to. Default is (Windows) 2012_R2.", - default="2012_R2"), + choices=["2012", "2012_R2", "2016", "2019"], + help="The schema file to upgrade to. Default is (Windows) 2019.", + default="2019"), Option("--ldf-file", type=str, default=None, help="Just apply the schema updates in the adprep/.LDF file(s) specified"), Option("--base-dir", type=str, default=None,