在虛擬機裝了Samba,smb.conf設定好了,也用pdbedit新增了帳戶
但是在Win7輸入\\ip\ghost822並輸入帳號密碼連線
卻一直都是密碼錯誤,無法正常連線
smb.conf如下:
[global]
log file = /var/log/samba/log.%m
max log size = 1000
panic action = /usr/share/samba/panic-action %d
usershare allow guests = Yes
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd chat = *Enter\snew\s*\spassword:* %n\n
*Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
passwd program = /usr/bin/passwd %u
security = USER
server role = standalone server
unix password sync = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
idmap config * : backend = tdb
[homes]
comment = Home Directories
browseable = No
create mask = 0700
directory mask = 0700
valid users = %S
[printers]
comment = All Printers
path = /var/spool/samba
browseable = No
printable = Yes
create mask = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[ghost822]
path = /home/ghost822
create mask = 0777
directory mask = 0777
read only = No
Google過了各式解法都無效,安全性原則也是正確的,NetBIOS over TCP/IP也啟用了
請求各位大神幫幫忙,我到底是哪邊設定錯誤了??