分类: LINUX
2008-06-18 21:20:06
[global]
guest account = smbguest
log file = /var/log/samba.log
log level = 1
netbios name = FLUFFYGERBIL
security = share
socket options = TCP_NODELAY IPTOS_LOWDELAY
workgroup = WORKGROUP
[public]
guest ok = yes
guest only = yes
path = /tmp
read only = no
[cdrom]
fake oplocks = yes
guest ok = yes
guest only = yes
path = /mnt/cdrom
read only = yes
Of couse, it is not nessesary to edit it as the above strickly
Now , what i using is as follow:
[global]
guest account = smbguest
log file = /var/log/samba.log
log level = 1
netbios name = moveAAS
security = share
socket options = TCP_NODELAY IPTOS_LOWDELAY
workgroup = C512
[mashare]
path = /aas/shareBi/
browseable = yes
guest ok = yes
之后需要设定用户组等
# groupadd smbguest
# useradd -g smbguest -d /dev/null -s /bin/false smbguest
# /etc/init.d/samba restart
to activate the configurations.
OK it's done.