LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   win XP can't connect to linux box using samba (https://www.linuxquestions.org/questions/linux-networking-3/win-xp-cant-connect-to-linux-box-using-samba-292405/)

nebs 02-19-2005 05:26 PM

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.

DoubleOTeC 02-20-2005 10:05 AM

Is the samba user you added also a Linux user?

I'm just wondering if the user's home directory exists.

nebs 02-20-2005 11:41 AM

Errmm...ok, it works fine now...I guess win xp had to be restarted for some reason...stupid windows.

My bad.

nebs 02-20-2005 11:42 AM

BTW, the user that I added to samba was already a linux user.


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