- /etc/samba/smb.conf:
- workgroup = WORKGROUPNAME
server string = BRIEF COMMENT ABOUT SERVER - security = user
- hosts allow = 127. 192.168.101.
- [homes]
comment = Home Directories
writeable = yes
; valid users = %S
; valid users = MYDOMAIN\%S
[data]
comment = Data Directories
path = /data/
writable = yes
valid users = foolbear, leon
admin users = foolbear
write list = foolbear
create mask = 0765 - useradd foolbear
- passwd foolbear
- smbpasswd -a foolbear
- service smb start
- /sbin/chkconfig --level 345 smb on
^_^
2008年12月18日星期四
配置Linux Samba的简要步骤
本站文章除注明外,均为本站原创
转载请注明文章转载自: 大笨熊乐园 [ https://blog.foolbear.com/ ]
文章标题: 配置Linux Samba的简要步骤
文章地址: https://blog.foolbear.com/2008/12/linux-samba.html
转载请注明文章转载自: 大笨熊乐园 [ https://blog.foolbear.com/ ]
文章标题: 配置Linux Samba的简要步骤
文章地址: https://blog.foolbear.com/2008/12/linux-samba.html
订阅:
博文评论
(
Atom
)
没有评论 :
发表评论