diff options
author | David Mulder <dmulder@suse.com> | 2017-03-03 12:54:30 -0700 |
---|---|---|
committer | Garming Sam <garming@samba.org> | 2017-11-20 21:41:15 +0100 |
commit | e750e4a35f201f2e59e06933eb813e244279e73d (patch) | |
tree | 3b9e4a2abef945b4ba3fd2ca835864d03f2283e8 /source4/selftest/tests.py | |
parent | 05235a56e3261bacf27aca2a2e9e80b54f37f68d (diff) | |
download | samba-e750e4a35f201f2e59e06933eb813e244279e73d.tar.gz |
gpo: Add gpo tests
Lays down a sysvol gpttmpl.inf with password policies, then runs the samba_gpoupdate command. Verifies policies are applied to the samdb.
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/selftest/tests.py')
-rwxr-xr-x | source4/selftest/tests.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py index 7362ec78e54..8d3d5261266 100755 --- a/source4/selftest/tests.py +++ b/source4/selftest/tests.py @@ -238,6 +238,10 @@ for env in ["ad_dc_ntvfs", "nt4_dc"]: plantestsuite("samba.blackbox.pdbtest.s4winbind(ad_dc_ntvfs)", "ad_dc_ntvfs:local", [os.path.join(bbdir, "test_pdbtest.sh"), '$SERVER', "$PREFIX", "pdbtest3", smbclient4, '$SMB_CONF_PATH', configuration + " --option='authmethods=winbind'"]) plantestsuite("samba.blackbox.pdbtest.s4winbind_wbclient(ad_dc_ntvfs)", "ad_dc_ntvfs:local", [os.path.join(bbdir, "test_pdbtest.sh"), '$SERVER', "$PREFIX", "pdbtest4", smbclient4, '$SMB_CONF_PATH', configuration + " --option='authmethods=winbind_wbclient'"]) +gpo = smbtorture4_testsuites("gpo.") +for t in gpo: + plansmbtorture4testsuite(t, 'ad_dc:local', ['//$SERVER/sysvol', '-U$USERNAME%$PASSWORD']) + transports = ["ncacn_np", "ncacn_ip_tcp"] #Kerberos varies between functional levels, so it is important to check this on all of them |