LinuxQuestions.org
Register a domain and help support LQ
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-02-2002, 09:10 PM   #1
RedHat123
Member
 
Registered: Dec 2001
Posts: 60

Rep: Reputation: 15
Unhappy Samba & Win2K pro, "network path not found"


Hello again,


After doing a search on Samba in previous posts, I still cant find the info i need.

RH 7.2 & Win2K

I can see my linux box from windows, but cant access the shares. In windows i get the message "network path not found". I can ping both ways, linux to windows and windows to linux but thats about it.

Ive set up a Samba user to match the user name im logged in to windows with.
Im using password encryption on Samba instead of modifying the windows registry.

Where to go from here ?
 
Old 02-02-2002, 09:54 PM   #2
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
A few quick thoughts:

If pinging works, the next step would be to try the following two commands from the Win box:

net use \\Linux_Server's_Name\homes

net view \\Linux_Server's_Name

If these don't work, you might have a problem with the NETBIOS naming on one or both machines. Check that, as well as the hostname/IP address entries in the various (and numerous) places that they occur on both machines.

Also, if necessary, make sure your shares on the Linux box have the "browseable=" option set to "yes".
 
Old 02-03-2002, 12:00 AM   #3
crabboy
Moderator
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
You can usually check to see if samba is setup correcly on the Linux side by using the smbclient on Linux. On the same linux machine at the command line type:
Code:
# smbclient //machine/share -Uusername%password
This will hopefully give you a clue to what is wrong.
 
Old 02-03-2002, 12:02 AM   #4
Sathe
Member
 
Registered: Sep 2001
Location: Bryan, Ohio USA (Home of the Etch-A Sketch)
Distribution: RedHat 7.1, 7.2, and 7.3
Posts: 76

Rep: Reputation: 15
post your smb.conf file
 
Old 02-03-2002, 11:18 AM   #5
RedHat123
Member
 
Registered: Dec 2001
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by crabboy


You can usually check to see if samba is setup correcly on the Linux side by using the smbclient on Linux. On the same linux machine at the command line type:



Code:


# smbclient //machine/share -Uusername%password


This will hopefully give you a clue to what is wrong.




I can successfully use smbclient //my_server/my_share -U user_name





when i do, i get the samba prompt for a password and after entering the password i get - smb: \>





So I think Samba is setup correctly on the linux box...it just seems to be a matter of connecting from windowz
 
Old 02-03-2002, 11:31 AM   #6
RedHat123
Member
 
Registered: Dec 2001
Posts: 60

Original Poster
Rep: Reputation: 15
problem found

Quote:
Originally posted by DMR
A few quick thoughts:



If pinging works, the next step would be to try the following two commands from the Win box:



net use \\Linux_Server's_Name\homes



net view \\Linux_Server's_Name



If these don't work, you might have a problem with the NETBIOS naming on one or both machines. Check that, as well as the hostname/IP address entries in the various (and numerous) places that they occur on both machines.



Also, if necessary, make sure your shares on the Linux box have the "browseable=" option set to "yes".
my linux shares have "browsable" set to yes

net use and net view both do not work, i get "network path not found". they also take a long time to return. its the same effect when i try to browse the network workgroup. it takes along time then pops up a message "netowkr path not found"

I have entries for the linux box in my windows hosts file, and the lmhosts file. Again, I can ping the linux machine from windows, and see it in the workgroup, but when i select it, i get "network path not found"
 
Old 02-03-2002, 02:58 PM   #7
Sathe
Member
 
Registered: Sep 2001
Location: Bryan, Ohio USA (Home of the Etch-A Sketch)
Distribution: RedHat 7.1, 7.2, and 7.3
Posts: 76

Rep: Reputation: 15
let me see what you have in your smb.conf file
i also run 2000 and linux with samba shares
 
Old 02-03-2002, 03:10 PM   #8
RedHat123
Member
 
Registered: Dec 2001
Posts: 60

Original Poster
Rep: Reputation: 15
my smb.conf

#Samba config file, names changed

[global]
workgroup = my_workgroup_name
netbios name = my_linux_box_name
server string = Samba server on my_linux_box_name
hosts allow = ip list here
log file = /var/log/samba/%m.log
max log size = 0
security = user
encrypt passwords = yes
smb password file = /etc/samba/smbpasswd
socket options = TCP_NO_DELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no

[homes]
comment = Home directories
browseable = yes
writeable = yes

[my_share_name]
comment = my linux share
path = /home/share
browsable = yes
valid users = linux_user_name_here
writable = yes
read only = no
printable = no
create mask = 0765
 
Old 02-05-2002, 09:57 PM   #9
Sathe
Member
 
Registered: Sep 2001
Location: Bryan, Ohio USA (Home of the Etch-A Sketch)
Distribution: RedHat 7.1, 7.2, and 7.3
Posts: 76

Rep: Reputation: 15
try adding this to your global section

interfaces = (eth0 ip#)/24 (eth1 ip#)/24
 
  


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
"Network Path not Found" zameer_india Linux - Software 4 10-09-2004 10:51 AM
"No Java virtual machine could be found from your PATH" - ignores bashrc shaider Linux - Software 7 10-09-2004 12:38 AM
"Network path not found " zameer_india Linux - Networking 5 10-01-2004 04:47 AM
"Network path not found" eladla Linux - Networking 1 07-04-2004 05:24 PM
"Mars DOMAIN" - Network Path not found. ikw38 Linux - Networking 0 07-09-2003 06:20 PM


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