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:
parent
83d0dc4b53
commit
0d112d7960
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user