first add a linux user login
- Code: Select all
useradd -d /home/stephen -s /bin/false -n stephen
then add a login password
- Code: Select all
passwd stephen
Now add the Samba user and password
- Code: Select all
smbpasswd -a stephen
The user name and password for the samba user should match the PC login name and password on the windows PC
see
http://www.samba.netfirms.com/addusers.htm