]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
samba-tool: let 'domain schemaupgrade' to use the 2019 schema by default
authorStefan Metzmacher <metze@samba.org>
Thu, 23 Feb 2023 14:05:01 +0000 (15:05 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 22 Mar 2023 22:10:32 +0000 (22:10 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/netcmd/domain.py

index 4f9d58d7952d0b7086c57f3b72925232335de646..7c91ec9c397e6b038819666f273cb4b6168383b7 100644 (file)
@@ -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,