debian下samba配置 http://blog.chinaunix.net/uid-2282111-id-2113216.htmlhtml
服務器端配置過程:
1. apt-get install samba
2. 修改/etc/samba/smb.conf,配置共享文件夾屬性ios
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 windows
5. windows下映射網絡盤,訪問。服務器