summaryrefslogtreecommitdiff
path: root/selftest/target
diff options
context:
space:
mode:
authorDavid Mulder <dmulder@suse.com>2017-03-03 12:54:30 -0700
committerGarming Sam <garming@samba.org>2017-11-20 21:41:15 +0100
commite750e4a35f201f2e59e06933eb813e244279e73d (patch)
tree3b9e4a2abef945b4ba3fd2ca835864d03f2283e8 /selftest/target
parent05235a56e3261bacf27aca2a2e9e80b54f37f68d (diff)
downloadsamba-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-xselftest/target/Samba4.pm1
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