[Pkg-samba-maint] Bug#428618: samba: can fail with "bind interfaces only" and >128 IP addresses

Robert Edmonds edmonds at debian.org
Tue Jun 12 23:39:00 UTC 2007


Package: samba
Version: 3.0.24-6etch4
Severity: normal

smbd can fail to start if the "bind interfaces only" option has been
enabled, and "interfaces" is set to an interface that isn't enumerated
by samba due to a 128 MAX_INTERFACES limit.

    # rm -f /var/log/samba/log.smbd
    # smbd -d 10
    # grep interfaces /etc/samba/smb.conf 
       interfaces = 10.0.0.0/8
       bind interfaces only = true
    # grep "added interface" /var/log/samba/log.smbd | wc -l
    128
    # grep 10.0.0.0 /var/log/samba/log.smbd 
      doing parameter interfaces = 10.0.0.0/8
      Can't determine ip for broadcast address 10.0.0.0/8

In the full log, the 128 "added interface" messages are for IP addresses
on interface br0.  As br0 has more than 128 IP addresses, the IP
addresses on eth0 (the 10.0.0.0/8 network) aren't enumerated.

-- System Information:
Debian Release: 4.0
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.21-1-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages samba depends on:
ii  debconf  1.5.11                          Debian configuration management sy
ii  libacl1  2.2.41-1                        Access control list shared library
ii  libattr1 2.4.32-1                        Extended attribute shared library
ii  libc6    2.3.6.ds1-13                    GNU C Library: Shared libraries
ii  libcomer 1.39+1.40-WIP-2006.11.14+dfsg-2 common error description library
ii  libcupsy 1.2.7-4                         Common UNIX Printing System(tm) -
ii  libgnutl 1.4.4-3                         the GNU TLS library - runtime libr
ii  libkrb53 1.4.4-7etch1                    MIT Kerberos runtime libraries
ii  libldap2 2.1.30-13.3                     OpenLDAP libraries
ii  libpam-m 0.79-4                          Pluggable Authentication Modules f
ii  libpam-r 0.79-4                          Runtime support for the PAM librar
ii  libpam0g 0.79-4                          Pluggable Authentication Modules l
ii  libpopt0 1.10-3                          lib for parsing cmdline parameters
ii  logrotat 3.7.1-3                         Log rotation utility
ii  lsb-base 3.1-23.1                        Linux Standard Base 3.1 init scrip
ii  netbase  4.29                            Basic TCP/IP networking system
ii  procps   1:3.2.7-3                       /proc file system utilities
ii  samba-co 3.0.24-6etch4                   Samba common files used by both th
ii  zlib1g   1:1.2.3-13                      compression library - runtime

Versions of packages samba recommends:
pn  smbldap-tools                 <none>     (no description available)

-- debconf information excluded

-- 
Robert Edmonds
edmonds at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20070612/d48ea965/attachment.pgp 


More information about the Pkg-samba-maint mailing list