多謝來信﹗
 

騎車能力重新訓練中 <yrchuo.bbs@cis.nctu.edu.tw> wrote in message
news:3bRZ3j$GLH@bbs.cis.nctu.edu.tw...
>
>         samba還是不能從windows 2000登入
>
>         另有開放一個不設限的目錄可以正常運作
>
>         可是遇到要輸入帳號密碼的就怎麼樣都登入不進去..
>
>         附上smb.conf 請幫我看一下好嗎..
>
>     workgroup = DTI
>     server string = Samba Server by LINUX
> ;   hosts allow = 192.168.1. 192.168.2. 127.
>     printcap name = /etc/printcap
>     load printers = yes
> ;   printing = bsd
> ;  guest account = pcguest
>     log file = /var/log/samba/log.%m
>     max log size = 50
>     security = user
> ;    password server = 202.145.181.67
> ;  password level = 8
> ;  username level = 8
> ;    encrypt passwords = yes
> ;    smb passwd file = /etc/smbpasswd


把上面兩行前面的 ﹔符號取消。
然後執行﹕
touch /etc/smbpasswd
chmod 600 /etc/smbpasswd
smbpasswd -a user_name

先確定 user_name 已經存在 /etc/passwd 中
然用同一個名稱登錄 Windows 2000。