[Samba] Bind to eth1 only problem

Joseph T. Duncan duncanjo at ucs.orst.edu
Thu Nov 3 18:36:54 GMT 2005



top part of my smb.conf now looks like:

[global]
bind interfaces only = yes
interfaces = 176.16.0.1/23

and i get the following results (and lazy so here are my ip addresses ;p)

-----------
mpk:/etc/samba# nmap -sSU 128.193.161.23

Starting nmap 3.93 ( http://www.insecure.org/nmap/ ) at 2005-11-03 10:33 
PST
Interesting ports on mpk.scf.oregonstate.edu (128.193.161.23):
(The 3141 ports scanned but not shown below are in state: closed)
PORT    STATE         SERVICE
22/tcp  open          ssh
68/udp  open|filtered dhcpclient
80/tcp  open          http
137/udp open|filtered netbios-ns
138/udp open|filtered netbios-dgm
631/tcp open          ipp
631/udp open|filtered unknown

Nmap finished: 1 IP address (1 host up) scanned in 1.515 seconds
mpk:/etc/samba# nmap -sSU 172.16.0.1

Starting nmap 3.93 ( http://www.insecure.org/nmap/ ) at 2005-11-03 10:33 
PST
Interesting ports on mpk.ts.scf.oregonstate.edu (172.16.0.1):
(The 3139 ports scanned but not shown below are in state: closed)
PORT    STATE         SERVICE
22/tcp  open          ssh
68/udp  open|filtered dhcpclient
80/tcp  open          http
137/udp open|filtered netbios-ns
138/udp open|filtered netbios-dgm
139/tcp open          netbios-ssn
445/tcp open          microsoft-ds
631/tcp open          ipp
631/udp open|filtered unknown

Nmap finished: 1 IP address (1 host up) scanned in 1.519 seconds
---------------------

as you can see samba is still binding netbios-ns and netbios-dgm to both 
interfaces(local loop back interface as well) :/ but not netbios-ssn or 
microsoft-ds

maybe i should grab a clean copy of the source and build it myself and see 
if i get better results. any other ideas?

_________________________________________________________________________
Info:                           Email:
Joseph T. Duncan                  work: duncanjo at ucs.orst.edu
Student Computing Facilities	  Home: Joseph.Duncan at orst.edu


More information about the samba mailing list