summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2015-03-12 13:25:38 +0000
committerMichael Adam <obnox@samba.org>2015-03-17 11:30:51 +0100
commit334015ebca42262668c82fbc9f5b2d25b0100b65 (patch)
tree5971d882e8ed614d21dc991734cafdc22eabc9b1 /selftest
parent89052936aee34af841fea230c92e133ad28e67c6 (diff)
downloadsamba-334015ebca42262668c82fbc9f5b2d25b0100b65.tar.gz
autobuild: Remove ntdb target
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'selftest')
-rwxr-xr-xselftest/target/Samba3.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index 0c48ddabb25..097d90a8de4 100755
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -607,6 +607,9 @@ $ret->{USERNAME} = KTEST\\Administrator
system("cp $self->{srcdir}/source3/selftest/ktest-secrets.tdb $prefix/private/secrets.tdb");
chmod 0600, "$prefix/private/secrets.tdb";
+#Make sure there's no old ntdb file.
+ system("rm -f $prefix/private/secrets.ntdb");
+
#This uses a pre-calculated krb5 credentials cache, obtained by running Samba4 with:
# "--option=kdc:service ticket lifetime=239232" "--option=kdc:user ticket lifetime=239232" "--option=kdc:renewal lifetime=239232"
#