Samba nmbd messages in log

David G. Miller dave at davenjudy.org
Sat Apr 15 17:46:46 UTC 2006


Laurence Vanek <lvanek at charter.net> wrote:

>I have a Samba server running on my small home network.  The home 
>network is served off its own NIC (eth0).  A separate NIC (eth1) is 
>connected thru cable modem to VOIP router.  The VOIP router appears to 
>be doing NAT and serves up an address:
>
>eth1      Link encap:Ethernet  HWaddr 00:04:75:73:91:0F 
>          inet addr:192.168.15.100  Bcast:192.168.15.255  Mask:255.255.255.0
>          inet6 addr: fe80::204:75ff:fe73:910f/64 Scope:Link
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:303755 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:265877 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000
>          RX bytes:326973694 (311.8 MiB)  TX bytes:41058862 (39.1 MiB)
>          Interrupt:22 Base address:0x8000
>
>My /var/log/messages file is filling with the following messages, every 
>10-15 minutes:
>
>==========
>
>Apr 15 11:24:25 localhost nmbd[4279]: [2006/04/15 11:24:25, 0] 
>nmbd/nmbd_browsesync.c:get_domain_master_name_node_status_fail(488)
>Apr 15 11:24:25 localhost nmbd[4279]:   
>get_domain_master_name_node_status_fail:
>Apr 15 11:24:25 localhost nmbd[4279]:   Doing a node status request to 
>the domain master browser at IP 192.168.15.100 failed.
>Apr 15 11:24:25 localhost nmbd[4279]:   Cannot get workgroup name.
>==========
>
>I can see my shares on the network from a Windows XP client.  All seems 
>well.  I have shared my linux box printer thru the printer share & it works.
>
>My testparm file:
>
>==========
>[global]
>        workgroup = MSHOME
>        netbios name = SAMBA
>        server string = Samba %v
>        interfaces = eth0
>        bind interfaces only = Yes
>        guest account = lvanek
>        passwd program = /usr/bin/passwd %u
>        passwd chat = *New*UNIX*password* %n\n 
>*ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*upda
>ed*successfully*
>        username map = /etc/samba/smbusers
>        unix password sync = Yes
>        log file = /var/log/samba/%m.log
>        max log size = 50
>        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>        printcap name = /etc/printcap
>        os level = 65
>        preferred master = Yes
>        domain master = Yes
>        dns proxy = No
>        wins support = Yes
>        idmap uid = 16777216-33554431
>        idmap gid = 16777216-33554431
>        guest ok = Yes
>        hosts allow = 192.168.1.
>        cups options = raw
>
>  
>
Several things:

1) You have the netbios name as SAMBA and the error messages indicate 
that the host name is "localhost".  Try adding samba as an alias for the 
system in /etc/hosts so the samba resolves.

2) Unless you need it, turn off wins support.

3) Your host allow is set to 192.168.1. but it looks like the NIC is 
configured with 192.168.15...

Try fixing these and then bounce smb. 

Cheers,
Dave

-- 
Politics, n. Strife of interests masquerading as a contest of principles.
-- Ambrose Bierce




More information about the users mailing list