summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-06-16 11:00:29 +0200
committerStefan Metzmacher <metze@samba.org>2010-06-17 09:11:58 +0200
commit1e8d025a3cd1b326e9660a0a5b388e67fc2d172a (patch)
treee1756c16251989c00157ea89d50e7602e1bd04f8 /selftest
parent9e3511ef1cf9b278cff04f1c883aed487876b93a (diff)
downloadsamba-1e8d025a3cd1b326e9660a0a5b388e67fc2d172a.tar.gz
samba-1e8d025a3cd1b326e9660a0a5b388e67fc2d172a.tar.bz2
samba-1e8d025a3cd1b326e9660a0a5b388e67fc2d172a.zip
selftest/Samba3: remove unused create_clientconf() function
metze
Diffstat (limited to 'selftest')
-rw-r--r--selftest/target/Samba3.pm33
1 files changed, 0 insertions, 33 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index 02dbbe0dc1..6eeae21b6a 100644
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -341,39 +341,6 @@ sub check_or_start($$$$$) {
return 0;
}
-sub create_clientconf($$$)
-{
- my ($self, $prefix, $domain) = @_;
-
- my $lockdir = "$prefix/locks";
- my $logdir = "$prefix/logs";
- my $piddir = "$prefix/pid";
- my $privatedir = "$prefix/private";
- my $conffile = "$prefix/smb.conf";
-
- my $torture_interfaces='127.0.0.6/8,127.0.0.7/8,127.0.0.8/8,127.0.0.9/8,127.0.0.10/8,127.0.0.11/8';
- open(CONF, ">$conffile");
- print CONF "
-[global]
- workgroup = $domain
-
- private dir = $privatedir
- pid directory = $piddir
- lock directory = $lockdir
- log file = $logdir/log.\%m
- log level = 0
-
- name resolve order = bcast
-
- netbios name = TORTURE_6
- interfaces = $torture_interfaces
- panic action = $RealBin/gdb_backtrace \%d %\$(MAKE_TEST_BINARY)
-
- passdb backend = tdbsam
- ";
- close(CONF);
-}
-
sub provision($$$$$$)
{
my ($self, $prefix, $server, $swiface, $password, $extra_options) = @_;