I am seeing the following messages logged every 20 min on a Centos 5.5 Samba 3.5.7 (SerNet RPMs) PDC. wins server = yes is set and the 172.17.1.50 address is the address of the PDC. From a Windows client perspective the the domain is functioning as expected. There is a Samba BDC and mulitple Win2008 R2 member servers in the domain. Are they anything to be concerned about? [2011/03/11 07:45:32.336148, 2] nmbd/nmbd_nameregister.c:192(wins_registration_timeout) wins_registration_timeout: WINS server 127.0.0.1 timed out registering IP 172.17.1.50 [2011/03/11 07:45:32.336288, 2] nmbd/nmbd_nameregister.c:192(wins_registration_timeout) wins_registration_timeout: WINS server 127.0.0.1 timed out registering IP 172.17.1.50 [2011/03/11 07:45:32.336372, 2] nmbd/nmbd_nameregister.c:192(wins_registration_timeout) wins_registration_timeout: WINS server 127.0.0.1 timed out registering IP 172.17.1.50 [2011/03/11 07:45:32.336417, 2] nmbd/nmbd_nameregister.c:192(wins_registration_timeout) wins_registration_timeout: WINS server 127.0.0.1 timed out registering IP 172.17.1.50 [2011/03/11 07:45:32.336479, 2] nmbd/nmbd_nameregister.c:192(wins_registration_timeout) wins_registration_timeout: WINS server 127.0.0.1 timed out registering IP 172.17.1.50 [2011/03/11 07:45:32.336536, 2] nmbd/nmbd_nameregister.c:192(wins_registration_timeout) wins_registration_timeout: WINS server 127.0.0.1 timed out registering IP 172.17.1.50 [2011/03/11 07:45:32.336575, 2] nmbd/nmbd_nameregister.c:192(wins_registration_timeout) wins_registration_timeout: WINS server 127.0.0.1 timed out registering IP 172.17.1.50 [2011/03/11 07:45:32.336613, 2] nmbd/nmbd_nameregister.c:192(wins_registration_timeout) wins_registration_timeout: WINS server 127.0.0.1 timed out registering IP 172.17.1.50 [2011/03/11 07:45:32.336671, 2] nmbd/nmbd_nameregister.c:192(wins_registration_timeout) wins_registration_timeout: WINS server 127.0.0.1 timed out registering IP 172.17.1.50 [2011/03/11 07:45:32.336725, 2] nmbd/nmbd_nameregister.c:192(wins_registration_timeout) wins_registration_timeout: WINS server 127.0.0.1 timed out registering IP 172.17.1.50 Thanks Mike ----------------------------------------------------------------
On Thu, Mar 10, 2011 at 2:59 PM, Mike Brady <mike.brady at devnull.net.nz> wrote:> wins server = yes is setman smb.conf wins server = <the ip address of the wins server> (unneeded on the actual wins server) wins support = yes (on the actual wins server)
Quoting Chris Smith <smb_77 at chrissmith.org>:> On Thu, Mar 10, 2011 at 2:59 PM, Mike Brady > <mike.brady at devnull.net.nz> wrote: >> wins server = yes is set > > man smb.conf > > wins server = <the ip address of the wins server> (unneeded on the > actual wins server) > wins support = yes (on the actual wins server) > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >Sorry, I do have wins support = yes on the PDC. Faulty memory on my part. ----------------------------------------------------------------
On Thu, Mar 10, 2011 at 5:44 PM, Mike Brady <mike.brady at devnull.net.nz> wrote:> Sorry, I do have wins support = yes on the PDC. ?Faulty memory on my part.Do you also have a "wins server = a.b.c.d" entry on the PDC? If so remove it and restart Samba.
Quoting Chris Smith <smb_77 at chrissmith.org>:> On Thu, Mar 10, 2011 at 5:44 PM, Mike Brady > <mike.brady at devnull.net.nz> wrote: >> Sorry, I do have wins support = yes on the PDC. ?Faulty memory on my part. > > Do you also have a "wins server = a.b.c.d" entry on the PDC? If so > remove it and restart Samba. > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/sambaNo. PDC has wins support = Yes BDC has wins server = 172.17.1.50 ----------------------------------------------------------------
On Fri, Mar 11, 2011 at 12:58 PM, Mike Brady <mike.brady at devnull.net.nz> wrote:> No.Is nmbd running on the PDC? Do you have a wins.dat file (possible location of /var/lib/samba/wins.dat - depends on configure)? Maybe post the global section (minus comments) of your smb.conf.
Quoting Chris Smith <smb_77 at chrissmith.org>:> On Fri, Mar 11, 2011 at 12:58 PM, Mike Brady > <mike.brady at devnull.net.nz> wrote: >> No. > > Is nmbd running on the PDC? > > Do you have a wins.dat file (possible location of > /var/lib/samba/wins.dat - depends on configure)? > > Maybe post the global section (minus comments) of your smb.conf. > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >Yes nmbd is running. # ll /var/lib/samba/wins* -rw-r--r-- 1 root root 4225 Mar 12 07:52 /var/lib/samba/wins.dat -rw------- 1 root root 24576 Mar 12 07:52 /var/lib/samba/wins.tdb # cat /etc/samba/smb.conf [global] unix charset = LOCALE workgroup = example netbios name = vm10 netbios aliases = filesshares passdb backend = ldapsam:"ldap://vm10.example.co.nz" username map = /etc/samba/smbusers guest account = nobody browseable = yes log level = 2 syslog = 1 log file = /var/log/samba/%m max log size = 0 obey pam restrictions = yes name resolve order = wins bcast hosts time server = Yes shutdown script = /sbin/shutdown -h abort shutdown script = /sbin/shutdown -c logon script = logon.bat logon path logon home domain master = Yes local master = yes preferred master = yes os level = 65 domain logons = Yes wins support = Yes ldapsam:trusted = yes ldapsam:editposix = yes ldap ssl = off ldap suffix = dc=example,dc=co,dc=nz ldap machine suffix = ou=Computers,ou=Users ldap user suffix = ou=People,ou=Users ldap group suffix = ou=Groups ldap admin dn = cn=sambaadmin,dc=example,dc=co,dc=nz idmap backend = ldap:ldap://127.0.0.1 ldap idmap suffix = ou=Idmap idmap uid = 10000-20000 idmap gid = 10000-20000 load printers = no printing = bsd printcap name = /dev/null show add printer wizard = no disable spoolss = yes ----------------------------------------------------------------
From: Mike Brady <mike.brady at devnull.net.nz> Date: Fri, 11 Mar 2011 08:59:49 +1300> I am seeing the following messages logged every 20 min on a Centos 5.5 > Samba 3.5.7 (SerNet RPMs) PDC. >(snip)> > [2011/03/11 07:45:32.336148, 2] > nmbd/nmbd_nameregister.c:192(wins_registration_timeout) > wins_registration_timeout: WINS server 127.0.0.1 timed out > registering IP 172.17.1.50Have you set "bind interfaces only = yes"? Or have you set firewalls to prevent nmbd listening on 127.0.0.1? Please show the result of "netstat -an | egrep '13[789]|445'". --- TAKAHASHI Motonobu <monyo at monyo.com>