debian下samba配置

debian下samba配置  http://blog.chinaunix.net/uid-2282111-id-2113216.html

服务器端配置过程:
1. apt-get install samba
2. 修改/etc/samba/smb.conf,配置共享文件夹属性

root@debian:~/jz2440# vi /etc/samba/smb.conf
[global]
workgroup = WORKGROUP
netbios name = CentOS7
server string = Samba Server
security = user
encrypt passwords = yes
max connections = 0
security = user
[jz2440]
path = /root/jz2440
writable = yes
guest ok = yes
write list = @root
validusers = @root
display charset = UTF-8
unix charset = UTF-8
dos charset = cp936

3. 添加用户并设置samba访问密码
  smbpasswd -a your_samba_user_name
4. 重启一下samba服务:

/etc/init.d/smb restart

5. windows下映射网络盘,访问。

上一篇:UWP 矢量字体图标(iconfont)使用


下一篇:dubbo集群服务下一台服务挂了对服务调用的影响