From: David Mulder Date: Fri, 11 Nov 2022 17:04:44 +0000 (-0700) Subject: gp: Test that Password and Kerberos policies fail on unknown key X-Git-Tag: talloc-2.4.0~552 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ea3adfd04b07c6d449904b81d132ad3858f72fb;p=thirdparty%2Fsamba.git gp: Test that Password and Kerberos policies fail on unknown key Signed-off-by: David Mulder Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Sat Nov 12 01:34:17 UTC 2022 on sn-devel-184 --- diff --git a/python/samba/tests/gpo.py b/python/samba/tests/gpo.py index c620a1270f7..7ba193884a1 100644 --- a/python/samba/tests/gpo.py +++ b/python/samba/tests/gpo.py @@ -7336,7 +7336,8 @@ class GPOTests(tests.TestCase): if ads.connect(): gpos = ads.get_gpo_list(machine_creds.get_username()) - stage = '[Kerberos Policy]\nMaxTicketAge = %d\n' + # Include MaxClockSkew to ensure we don't fail on a key we ignore + stage = '[Kerberos Policy]\nMaxTicketAge = %d\nMaxClockSkew = 5' opts = [100, 200] for i in range(0, 2): gpttmpl = gpofile % (local_path, guids[i])