This page looks plain and unstyled because you're using a non-standard compliant browser. To see it in its best form, please visit upgrade to a browser that supports web standards. It's free and painless.

宜蘭縣中小學班級部落格平台 會員登入 會員註冊

« 上一篇 | 下一篇 »

1.apt-get install samba

2.cd /etc/samba/

3.vim smb.conf

4.內容為:

詳細如下

[global]
log file = /var/log/samba/%m.log
display charset = UTF8
dos charset = CP950
unix charset = UTF8

#以上三行為編碼設定
obey pam restrictions = yes
guest ok = yes
username map = /etc/samba/smbusers
passwd program = /usr/bin/passwd %u
dns proxy = no
netbios name = www
netbios aliases = www
server string = www
printing = cups
unix password sync = yes
workgroup = ltes
os level = 20
max log size = 0
pam password change = yes
security = user

5.smbpasswd -a 使用者帳號
在samba上增加使用者並改密碼

6./etc/init.d/samba restart

如果你的網誌不支援引用網址自動搜尋功能,那麼你可以使用下列的直接引用網址來引用本文章:

http://blog.ilc.edu.tw/blog/trackback.php?id=17464