This is classic problem. This problem not only occurs with Linux/UNIX Samba (SMB client) but also with Microsoft Windows server 2000/2003 and XP client.
In order to solve this problem
a) You need to enable encrypted password support the Samba
OR
b) Force Windows XP to use unencrypted (clear text) password
I don’t recommend second option (as it needs registry hack on Windows XP as well as it is insecure)
To solve your problem log in to Linux Samba server:
Open smb.conf file:
Code:
# vi /etc/samba/smb.conf
Make sure following two entries are as follows:
Code:
encrypt passwords = yes
passdb backend = tdbsam
Save file and restart samba server
Code:
# /etc/init.d/samba restart
Now add new UNIX user:
Add demouser user with password to samba (so that you can access it from windows xp)
Code:
# smbpasswd –a demouser
And you are done. Login to windows XP > Click on Start > Run > type IP address of samba server (for example 192.168.1.5)
\\192.168.1.5
OR netbios name (for example Debiansamba):
\\debiansamba
When prompted for username/password type
USERNAME: demouser
PASSWORD: Your password (the one you set with smbpasswd command)