Download your favorite Linux distribution at LQ ISO.
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 02-19-2005, 05:26 PM   #1
LQ Newbie
Registered: Jun 2004
Location: Kingston, ON, Canada
Distribution: Mandrake
Posts: 12

Rep: Reputation: 0
win XP can't connect to linux box using samba

I'm trying to network my Win XP (Pro) computer with my Mandrake 10.0 box (just for simple file sharing). I've set up samba and I can see my mandrake share folders from the win xp network neighborhood and I can even get the Win XP machine to connect to a public shared folder on the linux box which doesn't require a username or password (see [tmp] in conf file below).

What I can't do though is get win xp to connect to my linux box /home/user folder using username/password authentication. I added the samba user (smbpasswd -a user). Here's some of my smb.conf file:

workgroup = WORKGROUP
netbios name = NAME
server string = NAME

log file = /var/log/samba/log.%m
max log size = 50

map to guest = bad user

security = user
password level = 8 # My samba password is 9 characters
; username level = 8
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd

wins support = yes

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

comment = Temporary file space
path = /tmp
read only = no
public = yes

# This temporary file space works perfectly

comment = user directory
path = /home/user
valid users = user
public = yes
writable = yes
printable = no

When I try and connect through win XP, it gives me this error:

\\NAME\user is not accessible. You might not have permission to use this networks resource....Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again.

Do I have to be logged on to my win xp machine as the user that I'm trying to connect as on my linux box? I can't think of anything else.
Old 02-20-2005, 10:05 AM   #2
Registered: Aug 2003
Location: Dominica
Distribution: RedHat, FC1, FC3, FC4
Posts: 266

Rep: Reputation: 30
Is the samba user you added also a Linux user?

I'm just wondering if the user's home directory exists.
Old 02-20-2005, 11:41 AM   #3
LQ Newbie
Registered: Jun 2004
Location: Kingston, ON, Canada
Distribution: Mandrake
Posts: 12

Original Poster
Rep: Reputation: 0
Errmm...ok, it works fine now...I guess win xp had to be restarted for some reason...stupid windows.

My bad.
Old 02-20-2005, 11:42 AM   #4
LQ Newbie
Registered: Jun 2004
Location: Kingston, ON, Canada
Distribution: Mandrake
Posts: 12

Original Poster
Rep: Reputation: 0
BTW, the user that I added to samba was already a linux user.


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
can connect my win 98 laptop to my linux box newusermike Linux - Networking 1 09-06-2005 06:16 PM
Connect two Linux box without samba melinda_sayang Linux - Newbie 6 08-02-2004 08:44 PM
Connect Red Hat box to Win XP box? VBAHole22 Linux - Newbie 6 05-09-2004 11:13 AM
Samba access WIN XP shares from linux box rmanocha Linux - Software 8 10-24-2003 08:28 AM
Samba with linux box, 2 win boxes, cable, router kuber Linux - Networking 2 09-04-2001 08:07 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:41 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