]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
selftest: add 'server support krb5 netlogon = yes' for ad_dc
authorStefan Metzmacher <metze@samba.org>
Tue, 26 Nov 2024 10:01:16 +0000 (11:01 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 12 Dec 2024 13:59:29 +0000 (13:59 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
selftest/knownfail.d/samba.tests.krb5.netlogon
selftest/target/Samba4.pm
source4/selftest/tests.py

index c6a6273cd80663395a92ec83133219062726e540..0f8d4c3fa3d0dcb9d6287ecdbf3a0c12591f59d8 100644 (file)
@@ -2,3 +2,7 @@
 ^samba.tests.krb5.netlogon.*.test_wks1_authenticate_flags
 # This is not implemented yet
 ^samba.tests.krb5.netlogon.*.NetlogonSchannel.test_ticket_samlogon
+# These will be fixed in the next commits
+^samba.tests.krb5.netlogon.*.NetlogonSchannel.test_check_passwords_.*_auth3_e13fffff
+^samba.tests.krb5.netlogon.*.NetlogonSchannel.test_check_passwords_.*_authK
+^samba.tests.krb5.netlogon.*.NetlogonSchannel.test_.*_samlogon_.*_authK
index cfa8200c3ef3984dc06523899f72cae2746e9454..923cc744e3588c19d2808c2944f7a9cd88ff0115 100755 (executable)
@@ -2096,6 +2096,7 @@ sub provision_ad_dc()
        lpq cache time = 0
        print notify backchannel = yes
 
+       server support krb5 netlogon = yes
        CVE_2020_1472:warn_about_unused_debug_level = 3
        CVE_2022_38023:warn_about_unused_debug_level = 3
        CVE_2022_38023:error_debug_level = 2
index 4aa37efdc1b412e9d1920c62374d257d54808a3c..76dd3c6884149962792e9fe617abe30c557567db 100755 (executable)
@@ -1996,7 +1996,7 @@ for env in ["ad_dc"]:
                                **krb5_environ,
                                'FAST_SUPPORT': fast_support,
                                'NETLOGON_STRONG_KEY_SUPPORT': '0',
-                               'NETLOGON_AUTH_KRB5_SUPPORT': '0',
+                               'NETLOGON_AUTH_KRB5_SUPPORT': '1',
                            })
 
 planoldpythontestsuite('fl2008r2dc', 'samba.tests.krb5.salt_tests',