Link to home
Start Free TrialLog in
Avatar of Bloodrule
Bloodrule

asked on

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.
Avatar of giltjr
giltjr
Flag of United States of America image

Can you post the parms from your smb.conf file?
Avatar of Bloodrule
Bloodrule

ASKER

Here it is:

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

[global]
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

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

[profiles]
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

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

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

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

[print$]
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?
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?
ASKER CERTIFIED SOLUTION
Avatar of giltjr
giltjr
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial