LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-09-2004, 06:29 PM   #1
hewsonism
LQ Newbie
 
Registered: Dec 2003
Location: San Jose, CA
Distribution: Fedora
Posts: 10

Rep: Reputation: 0
Client connection problems with Samba And Win XP Pro


Hello.

I'm trying to get samba to work correctly.
I have gotten samba to work correctly in the past
and am a little frustraited with my current results.

smbd & nmbd are running.

my smb.conf is pretty straight forward and is infact
the same as when i had samba running correctly (2 installs ago).

the problem occurs when i try to connect via my winxp box.
here I am attempting to connect from dos...

***BEGIN DOS***

C:\>NET USE P: \\192.168.0.3\musicsrv /YES
Enter the user name for '192.168.0.3': hewson
Enter the password for 192.168.0.3:
System error 53 has occurred.

The network path was not found.

***END DOS***

(192.168.0.3 is my linux box & musicsrv is the name of the share)
(this is the dos version of adding a network drive as most of howtos)

any suggestions?
 
Old 01-09-2004, 07:03 PM   #2
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
I assume that you have tries to ping it.
Make sure iptables is not blocking it.
As a test flush all the rules.
iptables -F;
iptables -P INPUT ACCEPT;
iptables -P OUTPUT ACCEPT;
If not post you smb.conf file. What distro you are using.
If you are user security=USER make sure that you setup the samba user using smbpasswd.
If it still does not work then
Post you smb.conf file. What distro you are using?
ps -ef | grep smb
ps -ef | grep nmb
netstat -pan
 
Old 01-12-2004, 09:07 PM   #3
hewsonism
LQ Newbie
 
Registered: Dec 2003
Location: San Jose, CA
Distribution: Fedora
Posts: 10

Original Poster
Rep: Reputation: 0
sweet!
I'm using Fedora. What config file needs to edited to make this a permanent change? the iptables cmd worked, but i had the same
problem as soon as i rebooted...

thanks
Hewson
 
Old 01-12-2004, 09:12 PM   #4
gurdib
Member
 
Registered: Jan 2004
Posts: 33

Rep: Reputation: 15
Every time you reboot, your iptables get configured the same way (the way it doesn't work for you). I am not a Fedora user but that is in essence your problem. Browse around /etc/init.d/ (and rc3.d or similar) and find where the iptables get initialized. This should lead you to the configuration files...

G.
 
Old 01-13-2004, 06:57 AM   #5
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
Configure iptables the way you want it and then save the changes using the save argument to the startup script /etc/init.d/iptables.

iptables -F
iptables -INPUT -P ACCEPT;
iptables -OUTPUT -P ACCEPT;

/etc/init.d/iptalbes save;
Now you have no firewall rules.
 
  


Reply



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
problem logging to Samba 3.0.6 from win Xp Pro carlos.a.lopez Linux - Networking 0 12-06-2004 09:28 AM
Cant write to Win XP using SAMBA client quinnk Linux - Networking 1 10-17-2004 09:40 AM
Samba Printing to Win Client brokenflea Linux - Networking 0 02-23-2004 01:38 AM
Setting up Samba with SuSe 8.1 and Win 2K/Win XP Pro crstine Linux - Networking 1 12-11-2002 06:21 AM
Win xp pro on samba PDC???? gritts Linux - Networking 13 11-26-2002 09:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:59 AM.

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
Open Source Consulting | Domain Registration