Samba problem: Windows only shows guest login option

I have set up Samba on my small mixed Windows and Linux LAN.  All working normally on the Linux side but when I try to access a Linux PC from Windows XP the login dialog contains a grayed out username (myotherpc\guest) and waits for me to enter a password.  None of my root or smbpasswds work.  How do I get restore a dialog box which enables me to enter my Samba username and password instead of having a grayed out guest option?

I am running Suse Linux 10 and am a Linux newbie.  Thanks for reading this.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Can you post the parms from your smb.conf file?
BloodruleAuthor Commented:
Here it is:

# Samba config file created using SWAT
# from (
# Date: 2006/04/16 17:00:10

workgroup = MSHOME
netbios name = PENTIUMIII
map to guest = Bad User
server signing = Auto
printcap name = cups
add machine script = /usr/sbin/useradd  -c Machine -d /var/lib/nobody -s /bin/false %m$
logon path = \\%L\profiles\.msprofile
logon drive = P:
logon home = \\%L\%U\.9xprofile
os level = 2
preferred master = no
domain master = no
ldap ssl = No
cups options = raw
include = /etc/samba/dhcp.conf
security = share
restrict anonymous = no
max protocol = NT

comment = Home Directories
valid users = %S
read only = No
inherit acls = Yes
browseable = No

comment = Network Profiles Service
path = /home/peter/Documents/
create mask = 0600
directory mask = 0700
case sensitive = no
msdfs proxy = no
guest ok = yes
read only = no

comment = All users
path = /home/
inherit acls = Yes
veto files = /aquota.user/groups/shares/

comment = All groups
path = /home/groups
read only = No
inherit acls = Yes

comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
browseable = No

comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin, root
force group = ntadmin
create mask = 0664
directory mask = 0775
Are you using XP Pro or XP Home?

Are you logged on to the XP box with a userid that is defined in the smbpasswd file?
BloodruleAuthor Commented:
I'm using XP Pro.

Your response has given me the hint I needed.  Can I tell you what I did?  My username on the XP side was different from on the Linux side.  Once I renamed my XP account to the same name as my Linux username it all worked without a hitch.  However before I did that I tried adding an account on the Linux PC with the same name as my XP account and logged into Linux as that user.  Strangely, on the XP side the dialog box continued to show LinuxPC\Guest grayed out, with only the password box waiting for input.  I still don't understand that last bit but at least I could get to the files in the end by ensuring that XP and Linux were both logged into with the same name.

Have I got it right or somehow missed the point?
It sounds almost like you mapped this once before and checked the reconnect at logon box.  I beleive that checking this box will not only attempt to reconnect at logon, but will continue to use the same userid as used the 1st time the map was done.  If you did do this, then you may want to try delete/disconnecting the map and then try re-mapping.

Please note, that your Samba server on the Linux box will use a different password than your Windows box.  You can manually keep them in sync if you want.

You also have "map to guest = Bad User" in your global section, which means if Samba on the Linux box see's a userid that it does not know about, it will automatically map that to the Guest account.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.