From 48cc2862c289f2b3cf027037fe071fe2e5d81202 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 21 Jun 2023 10:31:34 +0200 Subject: [PATCH] docs-xml/smbdotconf: also allow 2012[_R2] for 'ad dc functional level' We may not jump to 2016 directly... Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- docs-xml/smbdotconf/protocol/addcfunctionallevel.xml | 8 ++++++++ lib/param/param_table.c | 2 ++ 2 files changed, 10 insertions(+) diff --git a/docs-xml/smbdotconf/protocol/addcfunctionallevel.xml b/docs-xml/smbdotconf/protocol/addcfunctionallevel.xml index 1bec654bfe3..ed2b76bf5d0 100644 --- a/docs-xml/smbdotconf/protocol/addcfunctionallevel.xml +++ b/docs-xml/smbdotconf/protocol/addcfunctionallevel.xml @@ -15,6 +15,14 @@ 2008_R2: Similar to Windows 2008 R2 Functional Level + + 2012: Similar to Windows + 2012 Functional Level + + + 2012_R2: Similar to Windows + 2012 R2 Functional Level + 2016: Similar to Windows 2016 Functional Level diff --git a/lib/param/param_table.c b/lib/param/param_table.c index 820c8abae16..948550e6171 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -433,6 +433,8 @@ static const struct enum_list enum_debug_syslog_format[] = { static const struct enum_list enum_ad_functional_level[] = { {DS_DOMAIN_FUNCTION_2008_R2, "2008_R2"}, + {DS_DOMAIN_FUNCTION_2012, "2012"}, + {DS_DOMAIN_FUNCTION_2012_R2, "2012_R2"}, {DS_DOMAIN_FUNCTION_2016, "2016"}, {-1, NULL} };