韶子

梦想皆有神助...
ubuntu samba server 配置多用户访问
[share]
path = /home/share/
writeable = yes
browseable = yes
create mask = 0664
directory mask = 0775
guest ok = yes
public = yes
[homes]
common = Home Directories
browseable = yes
read only = yes
create mask = 0700
directory mask = 0700
valid user =%S

配置文件: /etc/samba/smb.conf

[share]:配置公共访问,不需登录,均可读写,\\IP\share\

[homes]:配置私有访问,使用用户名密码登录,\\IP\{user_name}\

posted on 2014-04-22 19:26  韶子  阅读(1434)  评论(0编辑  收藏  举报