mirror of
https://github.com/samba-team/samba.git
synced 2025-09-05 13:44:19 +03:00
samba-tool: allow 'domain level raise' to support level 2016
We don't support anything higher than 2008_R2 in Samba, but it's possible to run this against a remove server too. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
e855fe2068
commit
da74c3fde1
@@ -1094,10 +1094,10 @@ class cmd_domain_level(Command):
|
|||||||
Option("-H", "--URL", help="LDB URL for database or target server", type=str,
|
Option("-H", "--URL", help="LDB URL for database or target server", type=str,
|
||||||
metavar="URL", dest="H"),
|
metavar="URL", dest="H"),
|
||||||
Option("-q", "--quiet", help="Be quiet", action="store_true"), # unused
|
Option("-q", "--quiet", help="Be quiet", action="store_true"), # unused
|
||||||
Option("--forest-level", type="choice", choices=["2003", "2008", "2008_R2", "2012", "2012_R2"],
|
Option("--forest-level", type="choice", choices=["2003", "2008", "2008_R2", "2012", "2012_R2", "2016"],
|
||||||
help="The forest function level (2003 | 2008 | 2008_R2 | 2012 | 2012_R2)"),
|
help="The forest function level (2003 | 2008 | 2008_R2 | 2012 | 2012_R2 | 2016)"),
|
||||||
Option("--domain-level", type="choice", choices=["2003", "2008", "2008_R2", "2012", "2012_R2"],
|
Option("--domain-level", type="choice", choices=["2003", "2008", "2008_R2", "2012", "2012_R2", "2016"],
|
||||||
help="The domain function level (2003 | 2008 | 2008_R2 | 2012 | 2012_R2)")
|
help="The domain function level (2003 | 2008 | 2008_R2 | 2012 | 2012_R2 | 2016)")
|
||||||
]
|
]
|
||||||
|
|
||||||
takes_args = ["subcommand"]
|
takes_args = ["subcommand"]
|
||||||
|
Reference in New Issue
Block a user