This is what i did to run a samba file server on linux. I installed liux 8.0 server installation (all packages, selecting security to be medium, no firewalls). After linux was installed i checked samba was already installed along with it. I created user accounts and port them to samba,created smb.conf (and directories to access through samba like public).
i understand that linux box is somehow rejecting the connection when windows tries to connect it. But I couldn't find any instructions on how to enable port 137 and 139 for samba. Only thing i find is to run smbd -D and nmbd -D.
This is what i see if i run netstat -a.
[root@terran samba]# netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:32768 *:* LISTEN
tcp 0 0 localhost.localdo:32867 *:* LISTEN
tcp 0 0 *:printer *:* LISTEN
tcp 0 0 *:netbios-ssn *:* LISTEN
tcp 0 0 *:9099 *:* LISTEN
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 *:x11 *:* LISTEN
tcp 0 0 *:ftp *:* LISTEN
tcp 0 0 localhost.localdom:8118 *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 *:telnet *:* LISTEN
tcp 0 0 localhost.localdom:smtp *:* LISTEN
udp 0 0 *:32768 *:*
udp 0 0 terran:netbios-ns *:*
udp 0 0 *:netbios-ns *:*
udp 0 0 terran:netbios-dgm *:*
udp 0 0 *:netbios-dgm *:*
udp 0 0 *:bootpc *:*
udp 0 0 *:sunrpc *:*
--- On Tue 12/10, Joel Hammer < [EMAIL PROTECTED] > wrote:
From: Joel Hammer [mailto: [EMAIL PROTECTED]]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Date: Tue, 10 Dec 2002 00:22:30 -0500
Subject: Re: [Samba] SAMBA problem
You need to make sure the firewall on your linux machine is not blocking
those ports. So, what is the fireall on your linux machine doing?
Joel
On Tue, Dec 10, 2002 at 04:09:23AM +0000, Mohammad Noman Hameed wrote:
> by both demons i meant smbd and nmbd, i do not have firewall selected in
> windows xp machine.
> i checked in etc/services and it has the necessary lines.
>
> netbios-ns 137/udp #NETBIOS Name Service
> netbios-dgm 138/udp #NETBIOS Datagram Service
> netbios-ssn 139/tcp #NETBIOS Session Service
> microsoft-ds 445/udp #Direct-Hosted Service
> microsoft-ds 445/tcp #Direct-Hosted Service
>
> is there anything that needs to be done on windows part to enable 137 and
> 139 port?
>
> Thanks,
>
> Mohammad Hameed
>
>
>
>
>
> _________________________________________________________________
> Add photos to your messages with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
>
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
No banners. No pop-ups. No kidding.
Introducing My Way - http://www.myway.com
- ... Greg Prapat Oudomugsorn
- ... Dirk Allaert
- ... Steve Dyer
- ... helpdesk
- ... Bradley W. Langhorst
- ... Mohammad Noman Hameed
- ... Joel Hammer
- ... Mohammad Noman Hameed
- ... Joel Hammer
- ... Mohammad Noman
- ... John H Terpstra
- ... Mohammad Noman
- ... Mohammad Noman
- ... Joel Hammer
- ... Angie Yee
- ... Don Zajic
- ... "Андрей Едунов"
- ... PHELPS, SCOTT
- ... "Андрей Едунов"
- ... PHELPS, SCOTT
