[Samba] Possible bug in nmbd.

Pablo Marín Ramón pmr at pmr.jazztel.es
Sat Feb 22 11:09:12 GMT 2003


Hi,

My nmbd daemon is dying with an internal error periodically. Samba
version is 2.2.7a (I think the latest stable) but I've tried with the
Samba package that came with my Linux distro (a Debian Woody) and it
failed with the same messages too.

Here goes the log.nmbd file:

-----------------------------------------------------------------------------
  Netbios nameserver version 2.2.7a started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2003/02/21 21:29:17, 0]
nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(339)
  become_domain_master_browser_wins:
  Attempting to become domain master browser on workgroup DEPFIS, subnet
UNICAST_SUBNET.
[2003/02/21 21:29:17, 0]
nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(354)
  become_domain_master_browser_wins: querying WINS server at IP
158.42.9.1 for domain master browser name DEPFIS<1b> on workgroup DEPFIS
[2003/02/21 21:29:17, 0]
nmbd/nmbd_become_dmb.c:become_domain_master_stage2(114)  *****

  Samba server FIS-LINUX is now a domain master browser for workgroup
DEPFIS on
subnet UNICAST_SUBNET

  *****
[2003/02/21 21:29:17, 0]
nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(291)
  become_domain_master_browser_bcast:
  Attempting to become domain master browser on workgroup DEPFIS on
subnet 158.42.63.131
[2003/02/21 21:29:17, 0]
nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(305)
  become_domain_master_browser_bcast: querying subnet 158.42.63.131 for
domain master browser on workgroup DEPFIS
[2003/02/21 21:29:21, 0]
nmbd/nmbd_become_dmb.c:become_domain_master_stage2(114)  *****

  Samba server FIS-LINUX is now a domain master browser for workgroup
DEPFIS on
subnet 158.42.63.131

  *****
[2003/02/21 21:29:21, 0]
nmbd/nmbd_responserecordsdb.c:find_response_record(235)
find_response_record: response packet id 2336 received with no matching
record.
[2003/02/21 21:29:21, 0]
nmbd/nmbd_responserecordsdb.c:find_response_record(235)
find_response_record: response packet id 2337 received with no matching
record.
[2003/02/21 21:29:21, 0]
nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 2350 received with no matching
record.
[2003/02/21 21:29:39, 0]
nmbd/nmbd_become_lmb.c:become_local_master_stage2(404)
  *****

  Samba name server FIS-LINUX is now a local master browser for workgroup
DEPFIS on subnet 158.42.63.131

  *****
[2003/02/22 05:56:22, 0] nmbd/nmbd_namequery.c:query_name_response(104)
[2003/02/22 05:56:22, 0] lib/fault.c:fault_report(38)
  ===============================================================
[2003/02/22 05:56:22, 0] lib/fault.c:fault_report(39)
  INTERNAL ERROR: Signal 11 in pid 30883 (2.2.7a)
  Please read the file BUGS.txt in the distribution
[2003/02/22 05:56:22, 0] lib/fault.c:fault_report(41)
  ===============================================================
[2003/02/22 05:56:22, 0] lib/util.c:smb_panic(1094)
  PANIC: internal error
-----------------------------------------------------------------------------

As you can see, it works fine between 21:29:39 and 05:56:22. The server
has no load because it's from a university and on fridays nobody uses it.

My /usr/local/samba/lib/smb.conf file is this:

-----------------------------------------------------------------------------
[global]
        workgroup = DEPFIS
        domain master = yes
        os level = 65
        server string = Servidor DFA
        encrypt passwords = Yes
        security = server
        password server = BETELGEUSE
        username map = /etc/smbusers
        netbios name = fis-linux
        log file = /var/log/samba/log.%m
        max log size = 50
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        load printers = No
        dns proxy = No
        create mask = 0665
        wins server = 158.42.9.1
        wins proxy = yes
        include = /etc/dfa.smb.conf

[homes]
        comment = Directorio raíz de usuario
        valid users = %S
        read only = No
        create mask = 0755
        browseable = No

[raiz_web$]
        comment = Raiz del servidor Web
        path = /usr/local/apache/htdocs
        valid users = webmaster,jribelles,rusaes
        force user = webmaster
        force group = dfa
        read only = No

[asignaturas$]
        comment = Raiz del directorio de asignaturas
        path = /usr/local/apache/htdocs/asignaturas
        valid users = rusaes,jmas
        force user = webmaster
        force group = dfa
        read only = No

[jornadas$]
        comment = Raiz del directorio de trabajos de las jornadas
        path = /home/adm/jornadas
        valid users = rusaes,jmas
        force user = webmaster
        force group = dfa
        read only = No

[home_users$]
        comment = Raiz del directorio de usuarios
        path = /home
        valid users = pabmara
        read only = Yes

... and other shares here ...
-----------------------------------------------------------------------------

I've tested it with testparm and it says that it's correct.

smbd works without trouble.

BETELGEUSE (authentification server) works ok.

Before upgrading the system we had a Red Hat 6.2 with Samba 2.0.x and it
worked with exactlly the same configuration and without troubles.

If you need more details just say it.

Thanks for your efforts.

Best regards,
-- 
Pablo.



More information about the samba mailing list