- 精华
- 0
- 帖子
- 210
- 威望
- 0 点
- 积分
- 258 点
- 种子
- 16 点
- 注册时间
- 2009-6-6
- 最后登录
- 2024-8-8
|
继上次,使用Maxtor Shared Storage运行OPL的SMB模式显示不出游戏列表后,想看看smb.conf到底写了些什么, MSS是挺特别的,连配置文件都不走寻常路,终于找到了。可具体也看不出什么问题,发上来,希望各位达人帮我找找问题。文件很长,一张图截不下来,就把整个文本发上来了。(最好能顺便指导我一下怎么编辑和修改这个文件的内容,我对Linux还停留在只会用cat或vi打开的阶段。。。)
BusyBox v1.00-pre2 (2006.02.01-23:21+0000) Built-in shell (msh)
Enter 'help' for a list of built-in commands.
# cd /tmp/samba/lib
# cat smb.conf
[global]
netbios name = BEN
server string = "BEN"
workgroup = MSHOME
security = user
guest account = guest
log file = /var/log/samba.log
socket options = TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=8192
encrypt passwords = yes
use spnego = no
client use spnego = no
wins server =
wins support = no
host msdfs = no
interfaces = lo eth0 eth1 eth2 br0
qos enable = yes
level1 file extensions = mpeg mpg avi wmv vob
level2 file extensions = mp3 wav m3u png wma
os level = 20
preferred master = auto
domain master = auto
local master = yes
domain logons = no
log level = 0
max log size = 960
null passwords = yes
passdb backend = tdbsam
private dir = /shares/mss-hdd/__pdc
map to guest = bad user
use client driver = yes
printer admin = root, guest
show add printer wizard = yes
load printers = yes
default devmode = yes
printcap name = /tmp/etc/printcap
[printers]
comment = All Printers
path=/shares/mss-hdd/__var/spool/samba
printing = brcm
guest ok = yes
printable = yes
browseable = no
print command = chmod 666 %s; printcmd jobsubmit %p '%J' %x '%u'
lpq command = printcmd queuestat %p
lprm command = printcmd jobcancel %p %j
lppause command = printcmd jobpause %p %j
lpresume command = printcmd jobresume %p %j
queuepause command = printcmd queuepause %p
queueresume command = printcmd queueresume %p
[config]
path = /tmp/configuration_share
guest ok = yes
writeable = no
browsable = yes
guest only = yes
[Public]
path = /shares/mss-hdd/Public
writeable = yes
browsable = yes
inherit permissions = yes
inherit acls = yes
msdfs root = no
invalid users =
read list =
write list = "guest", "baoyinet",
guest ok = yes
guest only = yes
[ps2smb]
path = /shares/mss-hdd/ps2smb
writeable = yes
browsable = yes
inherit permissions = yes
inherit acls = yes
msdfs root = no
invalid users =
read list =
write list = "guest", "baoyinet",
guest ok = yes
guest only = yes
#. |
|