summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-12 13:14:41 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-12 14:58:38 +0200
commit2ba1444fbde9e459f67292ba5cdc79191d6c35ee (patch)
treecfeb2fa4b86842461d3e924ec4dc9a0a06d8a4f0
parente10d7d9941fe9a582a353eebfdd7eb46e8cc98c1 (diff)
downloadsamba-2ba1444fbde9e459f67292ba5cdc79191d6c35ee.tar.gz
samba-2ba1444fbde9e459f67292ba5cdc79191d6c35ee.tar.bz2
samba-2ba1444fbde9e459f67292ba5cdc79191d6c35ee.zip
selftest/Samba4: use "state dir" for persistent files
metze
-rw-r--r--selftest/target/Samba4.pm14
1 files changed, 7 insertions, 7 deletions
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm
index fd979db0b4..2bb74ca785 100644
--- a/selftest/target/Samba4.pm
+++ b/selftest/target/Samba4.pm
@@ -590,7 +590,7 @@ sub provision_raw_step1($$)
[global]
acl:search = $acl
netbios name = $ctx->{netbiosname}
- posix:eadb = $ctx->{lockdir}/eadb.tdb
+ posix:eadb = $ctx->{statedir}/eadb.tdb
workgroup = $ctx->{domain}
realm = $ctx->{realm}
private dir = $ctx->{privatedir}
@@ -786,11 +786,11 @@ sub provision($$$$$$$$$)
ntvfs handler = simple
[sysvol]
- path = $ctx->{lockdir}/sysvol
+ path = $ctx->{statedir}/sysvol
read only = yes
[netlogon]
- path = $ctx->{lockdir}/sysvol/$ctx->{dnsname}/scripts
+ path = $ctx->{statedir}/sysvol/$ctx->{dnsname}/scripts
read only = no
[cifsposix]
@@ -994,11 +994,11 @@ sub provision_vampire_dc($$$)
server max protocol = SMB2
[sysvol]
- path = $ctx->{lockdir}/sysvol
+ path = $ctx->{statedir}/sysvol
read only = yes
[netlogon]
- path = $ctx->{lockdir}/sysvol/$ctx->{dnsname}/scripts
+ path = $ctx->{statedir}/sysvol/$ctx->{dnsname}/scripts
read only = no
";
@@ -1159,11 +1159,11 @@ sub provision_rodc($$$)
server max protocol = SMB2
[sysvol]
- path = $ctx->{lockdir}/sysvol
+ path = $ctx->{statedir}/sysvol
read only = yes
[netlogon]
- path = $ctx->{lockdir}/sysvol/$ctx->{dnsname}/scripts
+ path = $ctx->{statedir}/sysvol/$ctx->{dnsname}/scripts
read only = yes
[tmp]