Banana Pi 測試 – Bananian 篇 安裝 Samba Server

利用 Samba Server 來當做網路上的芳鄰,可以分享資料。
# apt-get install samba

修改 Samba Server 設定檔
# vim /etc/samba/smb.conf
[global]
workgroup = HOME
security = user
[homes]
   comment = Home Directories
   browseable = no
   read only = no
[@more@]
重新啟動 Samba Server
# /etc/init.d/samba restart
[ ok ] Stopping Samba daemons: nmbd smbd.
[ ok ] Starting Samba daemons: nmbd smbd.

建立測試使用者
# useradd -d /home/pi -m -s /bin/false pi

設定 Samba 使用者的密碼
# pdbedit -a pi
new password:
retype new password:
Unix username:        pi
NT username:
Account Flags:        [U          ]
User SID:             S-1-5-21-4012369507-4131397429-245333283-1000
Primary Group SID:    S-1-5-21-4012369507-4131397429-245333283-513
Full Name:
Home Directory:       lamobopi
HomeDir Drive:
Logon Script:
Profile Path:         lamobopiprofile
Domain:               LAMOBO
Account desc:
Workstations:
Munged dial:
Logon time:           0
Logoff time:          never
Kickoff time:         never
Password last set:    Sun, 28 Sep 2014 15:17:57 CST
Password can change:  Sun, 28 Sep 2014 15:17:57 CST
Password must change: never
Last bad password   : 0
Bad password count  : 0
Logon hours         : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

在 Windows 開啟檔案總管來測試

輸入使用者帳號及密碼後

中文檔名及目錄均沒有問題