Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-14-2004, 02:50 AM
|
#1
|
LQ Newbie
Registered: Jan 2004
Location: Madurai,India
Distribution: RedHat Linux 9.0
Posts: 4
Rep:
|
Samba Server Not Reachable from WinNTClient
I am new to Linux and I have configured my Linux machine running RedHat Linux 9 to act as a Samba Server. I am able to browse the Linux box from the Network Neighborhood of a Win NT machine but when I double click to open it it says "Network Path Not Found".I've read some of the previous threads on this forum and tried to implement the suggestions given but to no avail.PLease help me.

|
|
|
01-14-2004, 03:06 AM
|
#2
|
Member
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 748
Rep:
|
Make sure you have both a Linux user account tied to the share (especially, but not exclusive of the "user" permission setting). That's step one, but the part that trips most people (and me...several times, I'm afraid) up, is that you need to make sure you have samba accounts set up as well.
As root, or at least as someone with permissions to alter samba settings, issue "smbpasswd -a username" this will add that user and offer a prompt to set that user's password.
This is a killer for most people, but some of the GUI's don't yet include it, for some unknown reason.
|
|
|
01-14-2004, 06:14 AM
|
#3
|
LQ Newbie
Registered: Jan 2004
Location: Madurai,India
Distribution: RedHat Linux 9.0
Posts: 4
Original Poster
Rep:
|
I still have problems connecting to the Samba Server.I am not even able toping my samba server(Jojo) using the netbios name.However I can ping it using its IP Address.What could possibly be the problem.
Bye
|
|
|
01-14-2004, 06:48 AM
|
#4
|
Member
Registered: Aug 2003
Location: Norway
Distribution: Slackware 10.0
Posts: 231
Rep:
|
Network path not found possibly means that the path = /path/to/dir in /etc/samba/smb.conf is incorrect.
|
|
|
01-14-2004, 06:53 AM
|
#5
|
Member
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336
Rep:
|
Try stopping the firewall.
iptables -P INPUT ACCEPT;
iptables -F;
Then try connecting. IF that does do it post you /etc/sambs/smb.con file.
|
|
|
01-14-2004, 07:09 AM
|
#6
|
LQ Newbie
Registered: Jan 2004
Location: Madurai,India
Distribution: RedHat Linux 9.0
Posts: 4
Original Poster
Rep:
|
I've stopped the Firewall.It still is not working.My smb.conf file is
[global]
workgroup = MR
netbios name = Jojo
guest ok = yes
username map = /etc/samba/smbusers
hosts allow = 192.168.1
[joel]
comment = Joe
path = /home/joel
valid users = %S
|
|
|
01-14-2004, 07:12 AM
|
#7
|
Member
Registered: Aug 2003
Location: Norway
Distribution: Slackware 10.0
Posts: 231
Rep:
|
Ok. In [global] add: security = share
or if you want user logon when connecting to shares:
security = user
then u have to add users that exists on the UNIX system with smbadduser
Then add valid users = <user u created>
I'm possibly wrong but shouldn't guest = ok not be in [global ]?
|
|
|
01-14-2004, 07:39 AM
|
#8
|
LQ Newbie
Registered: Jan 2004
Location: Madurai,India
Distribution: RedHat Linux 9.0
Posts: 4
Original Poster
Rep:
|
No improvement . It's still the same.
|
|
|
01-14-2004, 12:26 PM
|
#9
|
Member
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336
Rep:
|
remove the hosts allow line.
|
|
|
01-15-2004, 06:24 AM
|
#10
|
Member
Registered: Jun 2003
Location: New Albany, OH
Posts: 190
Rep:
|
misc config
encrypt passwords = yes
map to guest = bad user
security = user
share config
[BLUEBOOK]
comment = BLUEBOOK
browseable = yes
writable = yes
path = /home/ftp
guest ok = yes
|
|
|
All times are GMT -5. The time now is 03:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|