LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-08-2003, 12:02 PM   #1
bananaman
Member
 
Registered: Apr 2003
Posts: 30

Rep: Reputation: 15
Unhappy Samba, RedHat 7.2, Windows 2000


I have installed a Samba server on my RedHat 7.2 box. I have altered the configuration and I think it's all correct.

I can see the Samba server from my Windows 2000 computer but if I click on it I get:


\\myserver is not accessible

The network path was not found.


My network hub is a 4 point ADSL router with NAT firewall, but I'm assuming this shouldn't matter because Samba works over http, or am I wrong about that?

Any ideas?
 
Old 04-08-2003, 02:22 PM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,745

Rep: Reputation: 71
You need to make sure that the local file permission are set right.
Try chmod 777 /home/shares
This will give everyone read right permissions for that directory. also you can check out,
http://www.valkyrie.net/~tangle/comp...s/smb_conf.htm
 
Old 04-08-2003, 06:10 PM   #3
bananaman
Member
 
Registered: Apr 2003
Posts: 30

Original Poster
Rep: Reputation: 15
THanks Tangle.

I tried that, but I still get the same error.

Could it be something else? Is there any way I can verify or test where the problem might be?
 
Old 04-08-2003, 07:42 PM   #4
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,745

Rep: Reputation: 71
Can you ping between by name? Such as ping samba_server. The smb.conf file is the one I use right now with an XP client. I have absolutly no problems accessing the shares. The only thing I can think of is that you done have dns working.
If you can't ping by name edit your /etc/hosts file by adding your window name. Then edit your C:\WINDOWS\system32\drivers\etc\hosts file on the windows machine and add your linux machine.
 
Old 04-08-2003, 11:17 PM   #5
sinokonka
LQ Newbie
 
Registered: Apr 2003
Posts: 12

Rep: Reputation: 0
Can you ping your Samba server by IP address?

If you can, then check your smb.conf file for detail
 
Old 04-09-2003, 12:32 PM   #6
bananaman
Member
 
Registered: Apr 2003
Posts: 30

Original Poster
Rep: Reputation: 15
Thanks Tangle.

After following your instructions, I can ping by name from both the Windows 2000 and Linux boxes. (I didn't know about the host files. Thanks that's useful!)

However, I still get:


\\myserver is not accessible

The network path was not found.


when trying to access from the Windows2000 box.

Any other ideas?

One thing I don't understand. How does Samba know who you want to log on as? I mean, how does it select which Samba user to use when a particular PC box tries to connect to it? As I understand it the user is not prompted for a username when clicking on the Samba server icon in Windows. Is there something I don't understand?

Cheers.
 
Old 04-09-2003, 01:16 PM   #7
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,745

Rep: Reputation: 71
When a PC tries to access a share, it uses the username that is logged in at the time.

Did you try to copy the smb.conf file that I had on my page? If so, make sure that your 2000 machine has the samba server as the wins server.

Then make sure that the local directory permmissions are set to read/write for everyone. Do a chmod 777 /home/share (or what ever the directory name is. Make sure your change this once you get samba up and running.

Also do a testparm at the command line to see if the smb.conf file is configured right.

It sound to my like you have a permissions problem.
 
Old 04-16-2003, 11:39 PM   #8
pclark
LQ Newbie
 
Registered: Oct 2002
Location: Franklin Lakes, NJ
Distribution: Redhat 7.2
Posts: 10

Rep: Reputation: 0
I set up a Redhat 7.2 box as a server using two NICs and have been merrily communicating between it and six other Windows machines of various Windows OSs including a Windows 2000 advanced server for over a year now. I've sent my setup in Word format to a lot of people and they've found it most helpful, but it's too big for the message box. I use the Linux as an internet and a file server. I'd be happy to send you a copy. E-mail clarkp@optonline.net.
 
  


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
Windows 2000/XP and RedHat Linux Samba Server arrgh95 Linux - Networking 8 08-17-2005 03:26 PM
Samba+Windows 2000 Jimi_l SUSE / openSUSE 3 02-20-2005 11:24 AM
samba linux redhat to Windows 2000 Konqueror problem E-Rick Linux - Networking 0 10-20-2004 10:03 AM
Samba and Windows 2000 aeb105 Linux - Newbie 11 08-17-2003 05:44 PM
Samba 2.2.3 in RedHat 7.3 - problem with Windows 98,XP,2000 Wild-A Linux - Software 2 12-04-2002 07:52 AM


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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration