Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-09-2006, 07:11 AM   #1
Registered: Apr 2006
Location: MA, USA
Distribution: OpenSuse 11
Posts: 34

Rep: Reputation: 15
Samba/XP authentication


When attempting to setup Samba, and after a few hours of troubleshooting, I have managed to establish a connection between the XP boxx and the Linux box running Samba.

My config file looks like this:
workgroup = HOMEGRP
netbios name = winshr
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 1
path = /home/windir
read only = no
guest ok = yes
public = yes

Now on the XP machine when I double click on the share it asks me for a userid and password, and net view also fails with unauthorized access.

Why would it ask for a user id and password, given the above set up. I'm not even sure what id and password it is looking for.
I have tryed id = guest and password = guest, but that didn't work.

Old 08-09-2006, 07:28 AM   #2
Senior Member
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,745

Rep: Reputation: 71
Check you local file permissions. They should allow the anyone to browes the directory.
Old 08-09-2006, 07:27 PM   #3
Registered: Apr 2006
Location: MA, USA
Distribution: OpenSuse 11
Posts: 34

Original Poster
Rep: Reputation: 15
The /home/windir directory has the following settings:
Old 08-09-2006, 07:37 PM   #4
Senior Member
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
I think you need to specify a guest account in your global config.
guest account = root


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba without authentication maginotjr Slackware 6 11-21-2005 05:07 PM
Samba authentication leeloo2 Linux - Newbie 2 12-13-2004 05:32 PM
Samba authentication cmoloney Linux - Networking 32 12-01-2003 09:36 PM
Samba 3.0 smbclient authentication davidsrsb Slackware 1 11-06-2003 09:17 AM
Samba authentication ltrain Linux - Networking 1 06-13-2001 03:44 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration