From: David Mulder Date: Tue, 9 Feb 2021 19:58:49 +0000 (-0700) Subject: gpo: Test that Security gpext rsop lists only own policies X-Git-Tag: tevent-0.11.0~1766 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55d432248c37071b8206133154edcc4dec7134f7;p=thirdparty%2Fsamba.git gpo: Test that Security gpext rsop lists only own policies Signed-off-by: David Mulder Reviewed-by: Jeremy Allison --- diff --git a/python/samba/tests/gpo.py b/python/samba/tests/gpo.py index f2c857a8f26..ba0e91bde79 100644 --- a/python/samba/tests/gpo.py +++ b/python/samba/tests/gpo.py @@ -594,7 +594,8 @@ class GPOTests(tests.TestCase): # Create krb stage date gpofile = os.path.join(local_path, policies, '%s/MACHINE/MICROSOFT/' \ 'WINDOWS NT/SECEDIT/GPTTMPL.INF') - krb_stage = '[Kerberos Policy]\nMaxTicketAge = 99\n' + krb_stage = '[Kerberos Policy]\nMaxTicketAge = 99\n' \ + '[System Access]\nMinimumPasswordAge = 998\n' for g in [g for g in gpos if g.file_sys_path]: ret = stage_file(gpofile % g.name, krb_stage) diff --git a/selftest/knownfail.d/gpo b/selftest/knownfail.d/gpo new file mode 100644 index 00000000000..87a8c3c8d0e --- /dev/null +++ b/selftest/knownfail.d/gpo @@ -0,0 +1 @@ +^samba.tests.gpo.samba.tests.gpo.GPOTests.test_rsop