LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-10-2001, 09:21 PM   #1
fxlee
Member
 
Registered: Aug 2001
Location: French Guiana
Distribution: Red Hat 7.2
Posts: 39

Rep: Reputation: 15
Unhappy Samba and Win2k pro troubles...


Hi!

I'd like to know if I can use Samba 2.0.7-36 to connect my Win2K PC to my Linux server?
I can ping both of them, but my Win2K PC can't find my smb share or tells me that my domain does not exist... Is it due to Ipchains or Iptables?? (when I installed my RH7.1, I set the level of the firewall to "medium"...).
THX for help!
 
Old 11-10-2001, 11:47 PM   #2
b0b0
Member
 
Registered: Nov 2001
Location: Kansas
Distribution: rh71/2, mandrake81
Posts: 53

Rep: Reputation: 15
I ran into the same problem. Find a portscanner on Tucows or something and find out what ports on your linux box are open. Should have the following open:

137/tcp
137/udp
138/tcp
138/udp
139/tcp

These are netbios ports and they are essential for Samba to work. I just killed my firewall because i don't know how to open up ports. That is my next project and would appreciate any help that I can get to start going in the right direction.

good luck
 
Old 11-11-2001, 10:15 AM   #3
fxlee
Member
 
Registered: Aug 2001
Location: French Guiana
Distribution: Red Hat 7.2
Posts: 39

Original Poster
Rep: Reputation: 15
Aïïïe...

Does someone know how to disable the firewall or open the Netbios 139-137 ports for connecting to the smb server from Win2K?
I have an another trouble with Samba: once started with the "/etc/rc.d/init.d/smb start" command (or started as daemons), smbd and nmbd stop after a few seconds... What's that trick???
 
Old 11-11-2001, 01:05 PM   #4
b0b0
Member
 
Registered: Nov 2001
Location: Kansas
Distribution: rh71/2, mandrake81
Posts: 53

Rep: Reputation: 15
Dont know how to open ports (would like to know though), but to disable you firewall just use setup. In rh it is /usr/sbin/setup. Just select firewall and turn it off.

jason
 
Old 11-11-2001, 01:19 PM   #5
fxlee
Member
 
Registered: Aug 2001
Location: French Guiana
Distribution: Red Hat 7.2
Posts: 39

Original Poster
Rep: Reputation: 15
ThX BoBo for ur help!!!
 
Old 11-12-2001, 06:39 PM   #6
Michele Shell
LQ Newbie
 
Registered: Nov 2001
Posts: 4

Rep: Reputation: 0
Netbios 139-137 ports and ipchain rules in Linux

http://www.google.com/search?q=linux...e+Search&hl=en

try this link!

Also You are using ipchains or tables ? so open the ports ( for netbios blah) in the proper rc.d like(rc5.d). by changing K's to S's. Then in your rules deny the access to those ports coming form the outside world.

or something like this:
Utiliser 'ipchains', add these lines to /etc/rc.d/rc.local or your 'masq' script:
ipchains -A input -p tcp -j DENY --destination-port 137:139 -i eth0
ipchains -A input -p udp -j DENY --destination-port 137:139 -i eth0
ipchains -A output -p tcp -j DENY --destination-port 137:139 -i eth0
ipchains -A output -p udp -j DENY --destination-port 137:139 -i eth0



Last edited by Michele Shell; 11-12-2001 at 06:51 PM.
 
Old 11-15-2001, 10:22 AM   #7
fxlee
Member
 
Registered: Aug 2001
Location: French Guiana
Distribution: Red Hat 7.2
Posts: 39

Original Poster
Rep: Reputation: 15
Merci!

Merci Michele pour tes renseignements...
Je vais aller tester çà tout de suite...
 
Old 11-19-2001, 06:39 PM   #8
Michele Shell
LQ Newbie
 
Registered: Nov 2001
Posts: 4

Rep: Reputation: 0
Question What

What ????
 
Old 11-19-2001, 10:08 PM   #9
b0b0
Member
 
Registered: Nov 2001
Location: Kansas
Distribution: rh71/2, mandrake81
Posts: 53

Rep: Reputation: 15
'thank you michelle for you response...'
i will try what you suggest.'

i am the coolest, i knew that year of french in high school would pay off someday.........

(unless of course i am totally off base with that translation)

jason
 
Old 11-20-2001, 04:41 AM   #10
fxlee
Member
 
Registered: Aug 2001
Location: French Guiana
Distribution: Red Hat 7.2
Posts: 39

Original Poster
Rep: Reputation: 15
Thumbs up

Yeah!!! BoBo!!!
It's the right translation!!! Ur french's not bad !

Michelle, I thought U spoke french 'coz I've seen "Utiliser Ipchains..." for your response...That's why...Sorry........

Thank U all!
 
Old 11-20-2001, 12:04 PM   #11
Michele Shell
LQ Newbie
 
Registered: Nov 2001
Posts: 4

Rep: Reputation: 0
Cool HA!

HAHAHAH HEHHEHEHEH!
 
  


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
Win2k Pro under VMWARE and virii Tino27 Linux - Security 2 04-23-2004 08:11 PM
SuSE 9.0 pro and Win2k smoko Linux - Newbie 2 04-16-2004 10:49 PM
Samba share - network name no longer available when browsing samba from win2k dorango Linux - Software 0 03-02-2004 01:02 PM
RH8 Samba with WinXP Pro Troubles RonS Linux - Networking 18 03-12-2003 11:17 PM
Samba & Win2K pro, "network path not found" RedHat123 Linux - Networking 8 02-05-2002 09:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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