Thanks for that tip blue ice, I was having the same problem, mainly confusion though
The command you posted need modifying as it is missing an 'l' of the word null, so it should read:
cat /dev/null > /etc/samba/smbpasswd
Then add/modify the passwords for the users already in the system
I still had errors after this, but that was because I was so used to inputting the SU password, it kept failing, until I woke up and put my users password in, then it gave me results, like so :
[root@localhost richard]# smbclient -L localhost
Password:
Domain=[LOCALHOST] OS=[Unix] Server=[Samba 3.0.6]
Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (Linux Shares)
ADMIN$ IPC IPC Service (Linux Shares)
Printer Printer EPSON Stylus C41
richard Disk Home Directories
Domain=[LOCALHOST] OS=[Unix] Server=[Samba 3.0.6]
Server Comment
--------- -------
Workgroup Master
--------- -------
I do not get anything under server or workgroup, is this a problem?
Cheers
Asif