Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1157806
  • 博文数量: 241
  • 博客积分: 4385
  • 博客等级: 上校
  • 技术积分: 2383
  • 用 户 组: 普通用户
  • 注册时间: 2009-06-07 23:13
文章分类

全部博文(241)

文章存档

2013年(1)

2012年(8)

2011年(62)

2010年(109)

2009年(61)

分类: LINUX

2010-06-28 09:58:35

 说明:/etc/samba/smb.conf文件中除以下内容都为注释
 
 workgroup = WORKGROUP
 server string = %h server (Samba, Ubuntu)
 dns proxy = no
 
 log file = /var/log/samba/log.%m
 max log size = 1000
 syslog = 0
 panic action = /usr/share/samba/panic-action %d
 security = user
 encrypt passwords = true
 passdb backend = tdbsam
 obey pam restrictions = yes
 unix password sync = yes
 passwd program = /usr/bin/passwd %u
 passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
 pam password change = yes
 map to guest = bad user
 usershare allow guests = yes
 
[workspace]
 comment = workspace
 path = /home/yuanlin/workspace
; browseable = yes
 writeable = yes
 create mask = 644
 directory mask = 755
 guest ok = yes
 
[Documents]
 comment = Documents
 path = /home/yuanlin/Documents
; browseable = yes
 writeable = yes
 guest ok = yes
 
附注:samba的安装apt-get install samba/apt-get install smbfs
samba的重启sudo /etc/init.d/samba restart
阅读(833) | 评论(0) | 转发(0) |
0

上一篇:常用的ubuntu命令(持续更新)

下一篇:dpkg

给主人留下些什么吧!~~