let me input network password when access samba server from win2k machine.
below show:
account : (I don't know the format )
password:
Who can tell me the account format ? sample: sam(sambaserver)\root.
...全文
1254打赏收藏
access samba server from win2k machine.
let me input network password when access samba server from win2k machine. below show: account : (I don't know the format ) password: Who can tell me the account format ? sample: sam(sambaserver)\root.
If you use Linux user to do authentication, you must change Win2000 register to use plainpasswdtext.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\parameters]
"enableplaintextpassword"=dword:00000001
; encrypt passwords = yes
; smb passwd file = /etc/samba/smbpasswd
If you cancel these two lines , then you use Linux user.
If you use user mode ( security = user ). You should unmask some relating option of password. add a new user to LinuxOS.
and then use comand smbadduser and smbpasswd. It will be ok!
Note: you will add a new user named honey
1 add relating content to smb.conf
2 useradd honey and passwd honey
3 smbadduser honey:honey then type password for him.
4 smbpasswd let you can change samba user's password.