On Tue, Dec 10, 2002 at 07:25:07AM -0500, Joel Hammer wrote:
>>>>> "Joel" == Joel Hammer <[EMAIL PROTECTED]> writes:

    Joel> Just having a senior moment here, but, I recall vaguely that
    Joel> samba will listening on all NIC's but ignores the ones you
    Joel> tell it to ignore with.

Yes, samba will listen on all interfaces.

The problem is that Steve hasn't specified all the parameters
necessary to restrict Samba to one interface.

Try something like the following:

interfaces           = 192.168.6.10/24 127.0.0.1/8
bind interfaces only = yes

You will want to include the loopback interfaces

Check the sections in "man smb.conf" regarding these two
directives. You need to include the loopback interface in the
interfaces list or smbpasswd and swat will not work.

    Steve> Hi everyone,

    Steve> samba 2.2.5 The server I'm using has 2 interfaces so using
    Steve> the interface parameter I'm telling samba to use eth0 but
    Steve> for some reason when I do netstat it is listening on eth1

    Steve> interface = eth0 (the IP is 192.168.6.10)


    Steve> netstat -an udp 0 0 138.79.161.225:137 0.0.0.0:* udp 0 0
    Steve> 0.0.0.0:137 0.0.0.0:* udp 0 0 138.79.161.225:138 0.0.0.0:*

    Steve> 138.79.161.225 is the IP of eth1!??!

    Steve> I've also tried interface = 192.168.6.10/24

    Steve> Any ideas??


-- 
Eric M. Boehm                  /"\  ASCII Ribbon Campaign
[EMAIL PROTECTED]       \ /  No HTML or RTF in mail
                                X   No proprietary word-processing
Respect Open Standards         / \  files in mail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to