LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-19-2005, 05:26 PM   #1
nebs
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:


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

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

# This temporary file space works perfectly

[user]
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
DoubleOTeC
Member
 
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
nebs
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
nebs
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.
 
  


Reply


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


All times are GMT -5. The time now is 02:17 PM.

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