From 39117f1650f4b1a85d6d6d403398503c85b33e72 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 28 Jun 2001 05:57:56 +0000 Subject: fixed guest account for build farm boxes (This used to be commit 0d112d7960353b33e9c5015c39a107a47e6f690d) --- testsuite/build_farm/basicsmb.fns | 6 +++++- testsuite/build_farm/basicsmb.smb.conf.template | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuite') diff --git a/testsuite/build_farm/basicsmb.fns b/testsuite/build_farm/basicsmb.fns index d10aab5b1e..3929c48a39 100644 --- a/testsuite/build_farm/basicsmb.fns +++ b/testsuite/build_farm/basicsmb.fns @@ -1,5 +1,9 @@ test_smb_conf_setup() { - cat basicsmb.smb.conf.template | sed "s|PREFIX|$prefix|g" | sed "s|BUILD_FARM|$pwd|g" > $prefix/lib/smb.conf + cat basicsmb.smb.conf.template | \ + sed "s|PREFIX|$prefix|g" | \ + sed "s|BUILD_FARM|$pwd|g" | \ + sed "s|WHOAMI|$whoami|g" \ + > $prefix/lib/smb.conf echo "127.0.0.1 localhost">$prefix/lib/lmhosts echo "127.0.0.1 SHARE">>$prefix/lib/lmhosts diff --git a/testsuite/build_farm/basicsmb.smb.conf.template b/testsuite/build_farm/basicsmb.smb.conf.template index 095752f14f..78f1da3d4e 100644 --- a/testsuite/build_farm/basicsmb.smb.conf.template +++ b/testsuite/build_farm/basicsmb.smb.conf.template @@ -6,7 +6,7 @@ encrypt passwords = yes server string = Samba %v Build Farm Tests name resolve order = lmhosts - + guest account = WHOAMI domain logons = yes include = PREFIX/lib/smb.conf.%L -- cgit