安裝完samba後只要在/etc/samba/smb.conf 貼上 

[homes]
   comment = Home Directories
   browseable = no
   writable = yes


pdbedit  -a  使用者名稱

就完成samba拉

====================

安裝Samba
sudo apt-get install samba

設定Samba 編輯 /etc/samba/smb.conf 
(1)[global]workgroup = rootsecurity = share
(2)尾部加入[分享資料夾的名稱]path = 分享資料夾的路徑writable = yesguest account = rootforce user = rootpublic = yesforce group = root 
[3]重新啟動 Samba Serversudo /etc/init.d/samba restart 
[4]在Windows設定在網路上的芳鄰圖示下按右鍵,選 "連線網路磁碟機"磁碟機: 任選資料夾: \\Ubuntu下所設IP\分享資料夾的名稱

arrow
arrow
    文章標籤
    Samba
    全站熱搜

    JL8051 發表在 痞客邦 留言(0) 人氣()