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 /selftest/target | |
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 'selftest/target')
-rwxr-xr-x | selftest/target/Samba4.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index 8b2af7ff063..68feb6b4673 100755 --- a/selftest/target/Samba4.pm +++ b/selftest/target/Samba4.pm @@ -616,6 +616,7 @@ sub provision_raw_step1($$) rndc command = true dns update command = $ctx->{samba_dnsupdate} spn update command = $ENV{SRCDIR_ABS}/source4/scripting/bin/samba_spnupdate -s $ctx->{smb_conf} + gpo update command = $ENV{SRCDIR_ABS}/source4/scripting/bin/samba_gpoupdate -s $ctx->{smb_conf} -H $ctx->{privatedir}/sam.ldb dreplsrv:periodic_startup_interval = 0 dsdb:schema update allowed = yes |