摘要: Linux 下幾種網芳/Samba 目錄的 mount 方式,比較新的 Smaba 只能用 cifs 的 mount 方式。 [smbmount] smbmount -o username="Username",password="Password" //IP/share /mnt/smb smbumount /mnt/smb [mount] mount -t smbfs -o us... 阅读全文
posted @ 2015-02-13 23:06 心哲 阅读(263) 评论(0) 推荐(0) 编辑
摘要: ome commands to convert samba backend password-databases. If you use “passdb backend = smbpasswd” in your smb.conf you must convert your system-user accounts to smbpasswd: cat /etc/passwd | mksmbpas... 阅读全文
posted @ 2015-02-13 22:59 心哲 阅读(1393) 评论(0) 推荐(0) 编辑
摘要: Hi I tried to mount a network share (smbfs) but it complains about the lack of kernel support. To solve this, do i need to recompile the kernel, and if so, is there a guide that i can follow? here i... 阅读全文
posted @ 2015-02-13 17:52 心哲 阅读(381) 评论(0) 推荐(0) 编辑
摘要: Samba Server 自從 3.x 後改成使用 tdbsam 的方式來管理使用者的帳號及密碼,原本的帳號密碼都是存放在 /etc/samba 目錄之下,最近要做備份時,一時之間竟然找不到 Samba Server 存放使用者帳號及密碼的地方。 後來有想到,可以先把 tdbsam 格式匯出成 sampasswd 格式,再把 smbpasswd 格式轉成 tdbsam 格式 把 tdbs... 阅读全文
posted @ 2015-02-13 17:52 心哲 阅读(439) 评论(0) 推荐(0) 编辑
摘要: 弟管理學校的網頁伺服器,該伺服器也同時是大家的分享檔案集散中心,是以Linux架設起來的,該伺服器以 Unicode 作為系統編碼,而其他Windows系統則是big5(MS950)編碼,最近我要讓另一台 Linux 的主機(Unicode)掛載該伺服器所分享的檔案,編碼轉換的問題讓我頭痛了一個禮拜,最後發現到該伺服器更新的內容並未於網頁中更新,以下便是弟從文件中找出來的設定: 目前(200... 阅读全文
posted @ 2015-02-13 11:07 心哲 阅读(2958) 评论(0) 推荐(0) 编辑
摘要: https://www.samba.org/samba/docs/man/ https://devel.samba.org/ http://www.ubiqx.org/cifs/ https://www.samba.org/samba/docs/man/manpages-3/samba.7.html http://www.linuxnix.com/2009/09/8-ways-to... 阅读全文
posted @ 2015-02-13 09:37 心哲 阅读(108) 评论(0) 推荐(0) 编辑