summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-06-28 05:57:56 +0000
committerAndrew Tridgell <tridge@samba.org>2001-06-28 05:57:56 +0000
commit39117f1650f4b1a85d6d6d403398503c85b33e72 (patch)
tree83349bba1f67eda4289faf0a08d56ca913ee5102
parenta2c81f1aed2120c4f85fb44734e89446c1ba105c (diff)
downloadsamba-39117f1650f4b1a85d6d6d403398503c85b33e72.tar.gz
samba-39117f1650f4b1a85d6d6d403398503c85b33e72.tar.bz2
samba-39117f1650f4b1a85d6d6d403398503c85b33e72.zip
fixed guest account for build farm boxes
(This used to be commit 0d112d7960353b33e9c5015c39a107a47e6f690d)
-rw-r--r--testsuite/build_farm/basicsmb.fns6
-rw-r--r--testsuite/build_farm/basicsmb.smb.conf.template2
2 files changed, 6 insertions, 2 deletions
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