Bug 7557 - Samba crash when have misconfiguration in the config file options 'bind networks'.
Samba crash when have misconfiguration in the config file options 'bind netwo...
Status: NEW
Product: Samba 3.4
Classification: Unclassified
Component: Config Files
3.4.8
x64 FreeBSD
: P3 normal
: ---
Assigned To: Jeremy Allison
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-06 08:17 UTC by Anderson Nascimento
Modified: 2010-07-27 01:50 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anderson Nascimento 2010-07-06 08:17:59 UTC
I moved one config file to another machine which have others network configurations.

When I started samba service, it exited with signal 6. The configuration wrong in the options:

        interfaces = rl0 192.168.0.254/32
        socket address = 192.168.0.254

In machine don't exist neither the interface rl0 nor that IP.
overlabs# ifconfig -l
re0 lo0 pfsync0 pflog0
overlabs# ifconfig re0 inet
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500       options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
        inet 192.168.1.254 netmask 0xffffff00 broadcast 192.168.1.255
overlabs# sh /usr/local/etc/rc.d/samba start
Removing stale Samba tdb files: ...... done
Starting nmbd.
Starting smbd.
Starting winbindd.
overlabs# tail -4 /var/log/messages
Jul  6 10:12:59 overlabs kernel: pid 2644 (smbd), uid 0: exited on signal 6
Jul  6 10:13:18 overlabs kernel: pid 2695 (smbd), uid 0: exited on signal 6
Jul  6 10:13:20 overlabs kernel: pid 2744 (smbd), uid 0: exited on signal 6
Jul  6 10:13:29 overlabs kernel: pid 2796 (smbd), uid 0: exited on signal 6
overlabs#
Comment 1 Karolin Seeger 2010-07-27 01:50:35 UTC
Jeremy, is this by design?