Created
July 8, 2013 03:58
-
-
Save azhai/5946151 to your computer and use it in GitHub Desktop.
简化的samba配置 /etc/samba/smb.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#添加用户ryan,Samba不依赖于系统用户 | |
#gpasswd -a ryan | |
#生效 | |
#/etc/init.d/smbd restart | |
[global] | |
workgroup = WORKGROUP | |
server string = Smaba %V | |
hosts allow = 192.168.0. | |
security = user | |
passdb backend = tdbsam | |
log file = /var/log/samba/%m.log | |
max log size = 50 | |
[ryan] | |
path = /home/ryan | |
browseable = yes | |
writable = yes | |
valid users = ryan |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment