smbclient using all interfaces

Richard Sharpe sharpe at ns.aus.com
Tue Feb 16 00:17:18 GMT 1999


Hi Tim,

At 07:43 AM 2/16/99 +1100, Tim Winders wrote:
>I'm confused.  I have the following lines in my smb.conf file (2.0.2,
>btw):
>
>interfaces = 206.76.17.2/255.255.255.0 206.76.20.2/255.255.255.0
206.76.21.2/255.255.255.0 206.76.22.2/255.255.255.0
>bind interfaces only = Yes
>
>The system also have an additional interface of 206.76.16.67/28.  If I
>block TCP/UDP ports 137-139 on my router and then try to do
>
>	smbclient -L another_host
>
>I never get a response from the remote host.  When I look at the router
>logs, I see that packets have been dropped on that router interface
>because of the filter.  If I remove the filter on the router, everything
>starts to work again.
>
>So, does anybody have any thoughts as to why this is happening???

Ummm, where is your WINS server? Where is other-host? It seems like you
have a WINS server defined if lookup requests are going through the router
and are being blocked by the filters.

If indeed the WINS server is on the other side of the router, or other-host
is on the other side of the router, then you have to let ports 137-139
through the router.

>=== Tim
>
>---------------------------------------------------------------------
>|  Tim Winders, CNE, MCSE     |  Email:  Tim.Winders at SPC.cc.tx.us   |


Regards
-------
Richard Sharpe, sharpe at ns.aus.com, NIC-Handle:RJS96
NS Computer Software and Services P/L, 
Ph: +61-8-8281-0063, FAX: +61-8-8250-2080, 
Samba (Team member), Linux, Apache, Digital UNIX, AIX, C, ...


More information about the samba-technical mailing list