1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

fixed guest account for build farm boxes

This commit is contained in:
Andrew Tridgell 0001-01-01 00:00:00 +00:00
parent 83d0dc4b53
commit 0d112d7960
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,9 @@
test_smb_conf_setup() { 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 localhost">$prefix/lib/lmhosts
echo "127.0.0.1 SHARE">>$prefix/lib/lmhosts echo "127.0.0.1 SHARE">>$prefix/lib/lmhosts

View File

@ -6,7 +6,7 @@
encrypt passwords = yes encrypt passwords = yes
server string = Samba %v Build Farm Tests server string = Samba %v Build Farm Tests
name resolve order = lmhosts name resolve order = lmhosts
guest account = WHOAMI
domain logons = yes domain logons = yes
include = PREFIX/lib/smb.conf.%L include = PREFIX/lib/smb.conf.%L