Question Locked

Connecting to a Samba server from a Windows PC

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a Linux machine which is on my network but not on my domain. I have a Windows XP pro PC which is on the domain that I am trying to connect to a share on the Linux box.

When, from a DOS prompt, I type

net use r: \\\sharename

I get "The password or username is invalid for \\\sharename"

Enter user name for 'linuxserver' :

I supply my credentials but regardless of which login I use I always get Logon Failure. I have tried to supply root credentials, I have created an account on the Linux machine with the same user name and password as my domain account but so far no luck. Can I connect from a domain PC to a non-domain Linux box? Is there something else I should be checking?

5 replies

by ---tk---

What OS are you running?

I wouldn't think connecting to a samba share that is not in the domain should effect anything... First I would make sure samba was currently running, then restart it, Check permissions on the share, get rid of SeLinux b/c it can be a huge pain in the rear, I would also look into the log files.... I would also Check and make sure the box has in internet connection.... simple stuff first... could be something small...

by jiminpa

Samba is running I have had to restart it each time I made a change to my smb.conf file. Here's the part of my smb.conf file I configured to share my folder. Samba and folder sharing is a new frontier for me as far as Linux goes so you're right... it is probably something really simple ;)

[images]
comment = Images cache directory for dcm4chee
browseable = yes
guest ok = yes
path = /usr/local/dcm4chee/server/default/archive
public = yes
writable = yes
valid users = jmille39 root nobody
create mask = 0777

by ---tk---

tried mapping a network drive, and avoid the syntax...

by jiminpa

It prompts me for a user name and password which I have tried using both the root password and a regular user I set up and neither one works.

:(

This discussion is closed to new replies.