docs-xml/smbdotconf: also allow 2012[_R2] for 'ad dc functional level'
authorStefan Metzmacher <metze@samba.org>
Wed, 21 Jun 2023 08:31:34 +0000 (10:31 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 21 Jun 2023 19:08:37 +0000 (19:08 +0000)
We may not jump to 2016 directly...

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
docs-xml/smbdotconf/protocol/addcfunctionallevel.xml
lib/param/param_table.c

index 1bec654bfe32a40ee5ba1586d0433cf20faeef2f..ed2b76bf5d0567bacf55889cd69a10b441a04cde 100644 (file)
            <para><constant>2008_R2</constant>: Similar to Windows
            2008 R2 Functional Level</para>
        </listitem>
+       <listitem>
+           <para><constant>2012</constant>: Similar to Windows
+           2012 Functional Level</para>
+       </listitem>
+       <listitem>
+           <para><constant>2012_R2</constant>: Similar to Windows
+           2012 R2 Functional Level</para>
+       </listitem>
        <listitem>
            <para><constant>2016</constant>: Similar to Windows
            2016 Functional Level</para>
index 820c8abae16c2d840650e45505b68a9d463db53b..948550e6171cee55ea4f8a8d075db6ba5c1bce00 100644 (file)
@@ -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}
 };