2009年3月14日 星期六

Samba重點

[global]
load printers = No
printcap name = /bin/false
os level = 35
security = user
hide dot files = yes
passdb backend = tdbsam
name resolve order = lmhosts host wins bcast
#可以肯定的是 因為沒有printer 所以 printcap name 很重要 不然會搜尋很久
## 然而 samba 服務不穩定似乎還是沒解決....
mount -t cifs //main-server/public /mnt/share -o username=xxx,password=xxx

fstab 裡
//taget /mnt cifs noauto,username=xx,password=oo 0 0

沒有留言: