I have Samba running on Ubuntu 8.10 and I'm accessing it from WindowsXP. Currently, when I log in it connects as nobody/nogroup. My Ubuntu and XP usernames and passwords match, so I'd prefer it to log in using that account instead of "nobody". I've been trying to modify smb.conf to make that work but so far haven't had success. I'm wondering if in addition to my Ubuntu and XP usernames, is there a separate Samba username I need to make too? I've tried different permutations of the various "guest" options and "valid users" options, but so far no success. If I set "valid users" to equal my ubuntu and windows username, I can't get in at all. It prompts over and over for my password as if its invalid. The following smb.conf is what I'm currently using that lets me in, but as "nobody".
Code:
[global]
log file = /var/log/samba/log.%m
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
obey pam restrictions = yes
map to guest = bad user
encrypt passwords = true
passwd program = /usr/bin/passwd %u
passdb backend = smbpasswd
dns proxy = no
server string = %h server
unix password sync = yes
workgroup = workgroup
os level = 20
syslog = 0
panic action = /usr/share/samba/panic-action %d
usershare allow guests = yes
max log size = 1000
pam password change = yes
[music]
writeable = yes
public = yes
path = /mnt/mybook/music
Help?