[Samba] Samba File Server with 2 NICs, only one is used

Anastasios Papadopoulos tpapad at gmail.com
Fri Jul 15 13:12:14 GMT 2005


Hello all,

We have a Mandrake 10.1 server with Samba 3.0.13. The box has 2 NICs,
2 IPs and our DNS servers have both entries (same name for 2 IPs).
Since kerberos is not working around here (tried to fix it for about 3
weeks, then gave up) I found my workaround: I use NetBIOS alias for my
server, all clients use this alias for samba access and they
authenticate thgrough SSPI.

My problem is that only one of my NICs seems to work :

ifconfig | grep RX\ bytes gives:

          RX bytes:2906637535 (2771.9 Mb)  TX bytes:4256133463 (4058.9 Mb)
          RX bytes:13805476 (13.1 Mb)  TX bytes:546 (546.0 b)
          RX bytes:151532631 (144.5 Mb)  TX bytes:151532631 (144.5 Mb)
(last line is lo)

This data is after 8 days of heavy usage...

Any hints?

smb.conf:

        workgroup = XXX
        realm = XXX.LOCAL
        netbios aliases = YYY
        server string = Samba Server %v
        interfaces = 192.168.254.2, 192.168.254.4
        security = ADS
        auth methods = winbind
        password server = 192.168.254.1 192.168.254.3
        log file = /var/log/samba/%m.log
        max log size = 200
        read raw = No
        name resolve order = wins lmhosts bcast
        client signing = Yes
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
IPTOS_LOWDELAY
        hostname lookups = Yes
        printcap name = /etc/printcap
        os level = 5
        local master = No
        dns proxy = No
        wins server = 192.168.254.1, 192.168.254.3
        ldap ssl = no
        remote announce = 192.168.254.255
        idmap uid = 10000-20000
        idmap gid = 10000-20000
        template shell = /bin/bash
        winbind use default domain = Yes
        valid users = @ZZZ
        create mask = 0760
        hosts allow = 192.168.254.0/255.255.255.0
        hide files = /.*/desktop.ini/thumbs.db/

TIA

-- 
Anastasios Papadopoulos


More information about the samba mailing list