mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
gpo: Test that Security gpext rsop lists only own policies
Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
ff4279575f
commit
55d432248c
@ -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)
|
||||
|
1
selftest/knownfail.d/gpo
Normal file
1
selftest/knownfail.d/gpo
Normal file
@ -0,0 +1 @@
|
||||
^samba.tests.gpo.samba.tests.gpo.GPOTests.test_rsop
|
Loading…
Reference in New Issue
Block a user