Chinaunix首页 | 论坛 | 博客
  • 博客访问: 376124
  • 博文数量: 109
  • 博客积分: 5045
  • 博客等级: 大校
  • 技术积分: 1199
  • 用 户 组: 普通用户
  • 注册时间: 2006-05-08 14:47
文章分类

全部博文(109)

文章存档

2017年(1)

2012年(5)

2011年(10)

2010年(1)

2009年(13)

2008年(29)

2007年(6)

2006年(44)

我的朋友

分类: LINUX

2008-06-18 21:20:06

Installing Samba first


then
edit /etc/samba/smb.conf like this
[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.



阅读(909) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~