Use --base-schema=2008_R2 on ad_dc_ntvfs, which opeates at FL2008
authorAndrew Bartlett <abartlet@samba.org>
Wed, 10 May 2023 22:03:30 +0000 (10:03 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 16 May 2023 23:29:32 +0000 (23:29 +0000)
This will allow fl008dc to become an alias of ad_dc_ntvfs again.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
selftest/target/Samba4.pm

index 55e02b74c22c37d61b9019a07bcf59b4f3bb6536..b67f3e6b42acca7c996a521c995f81a9fbfc2b4f 100755 (executable)
@@ -1670,7 +1670,9 @@ sub provision_ad_dc_ntvfs($$$)
        server require schannel:LOCALDC\$ = no
        server schannel require seal:LOCALDC\$ = no
        ";
-       push (@{$extra_provision_options}, "--use-ntvfs");
+       push (@{$extra_provision_options},
+             "--base-schema=2008_R2",
+             "--use-ntvfs");
        my $ret = $self->provision($prefix,
                                   "domain controller",
                                   "localdc",