Hi there,
I have found a problem with my Samba server 3.0.28. This problem appeared
suddenly without
any changes in configuration or server update.
NMBD becomes unresponsive in some minutes after startup with these options
enabled:
name resolve order = wins lmhosts hosts
wins server = 172.25.8.86 172.25.8.84
Unresponsive means that it is not possible to connect to server,
nmbd eats full processor power and it is not possible to stop it, only by
"killall -9"
This is from log:
[2008/02/21 19:55:15, 0] nmbd/nmbd.c:main(697)
Netbios nameserver version 3.0.28 started.
Copyright Andrew Tridgell and the Samba Team 1992-2007
[2008/02/21 19:55:15, 0] nmbd/nmbd_logonnames.c:add_logon_names(163)
add_domain_logon_names:
Attempting to become logon server for workgroup OTB on subnet 172.25.71.250
[2008/02/21 19:55:15, 0] nmbd/nmbd_logonnames.c:add_logon_names(163)
add_domain_logon_names:
Attempting to become logon server for workgroup OTB on subnet UNICAST_SUBNET
[2008/02/21 19:55:15, 0]
nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(335)
become_domain_master_browser_wins:
Attempting to become domain master browser on workgroup OTB, subnet
UNICAST_SUBNET.
[2008/02/21 19:55:15, 0]
nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(349)
become_domain_master_browser_wins: querying WINS server from IP 0.0.0.0 for
domain master browser name OTB<1b> on workgroup OTB
[2008/02/21 19:55:15, 0] nmbd/nmbd_logonnames.c:become_logon_server_success(124)
become_logon_server_success: Samba is now a logon server for workgroup OTB on
subnet UNICAST_SUBNET
[2008/02/21 19:55:15, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113)
*****
Samba server ROHOVKA is now a domain master browser for workgroup OTB on
subnet UNICAST_SUBNET
*****
[2008/02/21 19:55:15, 0]
nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(290)
become_domain_master_browser_bcast:
Attempting to become domain master browser on workgroup OTB on subnet
172.25.71.250
[2008/02/21 19:55:15, 0]
nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(303)
become_domain_master_browser_bcast: querying subnet 172.25.71.250 for domain
master browser on workgroup OTB
[2008/02/21 19:55:19, 0] nmbd/nmbd_logonnames.c:become_logon_server_success(124)
become_logon_server_success: Samba is now a logon server for workgroup OTB on
subnet 172.25.71.250
[2008/02/21 19:55:24, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113)
*****
Samba server ROHOVKA is now a domain master browser for workgroup OTB on
subnet 172.25.71.250
*****
[2008/02/21 19:55:38, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
*****
Samba name server ROHOVKA is now a local master browser for workgroup OTB on
subnet 172.25.71.250
*****
It works without problems setting it to:
name resolve order = lmhosts hosts bcast
# wins server = 172.25.8.86 172.25.8.84
There is a log. What is strange are the repeating message at the end.
[2008/02/21 18:50:55, 0] nmbd/nmbd.c:main(697)
Netbios nameserver version 3.0.28 started.
Copyright Andrew Tridgell and the Samba Team 1992-2007
[2008/02/21 18:50:55, 0] nmbd/nmbd_logonnames.c:add_logon_names(163)
add_domain_logon_names:
Attempting to become logon server for workgroup OTB on subnet 172.25.71.250
[2008/02/21 18:50:55, 0]
nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(290)
become_domain_master_browser_bcast:
Attempting to become domain master browser on workgroup OTB on subnet
172.25.71.250
[2008/02/21 18:50:55, 0]
nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(303)
become_domain_master_browser_bcast: querying subnet 172.25.71.250 for domain
master browser on workgroup OTB
[2008/02/21 18:50:59, 0] nmbd/nmbd_logonnames.c:become_logon_server_success(124)
become_logon_server_success: Samba is now a logon server for workgroup OTB on
subnet 172.25.71.250
[2008/02/21 18:51:03, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113)
*****
Samba server ROHOVKA is now a domain master browser for workgroup OTB on
subnet 172.25.71.250
*****
[2008/02/21 18:51:18, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
*****
Samba name server ROHOVKA is now a local master browser for workgroup OTB on
subnet 172.25.71.250
*****
[2008/02/21 18:56:50, 0]
nmbd/nmbd_incomingdgrams.c:process_master_browser_announce(389)
process_master_browser_announce: Cannot find workgroup OTB on subnet
UNICAST_SUBNET
[2008/02/21 19:08:50, 0]
nmbd/nmbd_incomingdgrams.c:process_master_browser_announce(389)
process_master_browser_announce: Cannot find workgroup OTB on subnet
UNICAST_SUBNET
[2008/02/21 19:20:50, 0]
nmbd/nmbd_incomingdgrams.c:process_master_browser_announce(389)
process_master_browser_announce: Cannot find workgroup OTB on subnet
UNICAST_SUBNET
[2008/02/21 19:32:50, 0]
nmbd/nmbd_incomingdgrams.c:process_master_browser_announce(389)
process_master_browser_announce: Cannot find workgroup OTB on subnet
UNICAST_SUBNET
[2008/02/21 19:44:50, 0]
nmbd/nmbd_incomingdgrams.c:process_master_browser_announce(389)
process_master_browser_announce: Cannot find workgroup OTB on subnet
UNICAST_SUBNET
And this is my configuration for WINS:
[global]
dos charset = 852
unix charset = utf8
workgroup = OTB
server string = Samba Server %v
interfaces = eth0, lo
bind interfaces only = Yes
passdb backend = tdbsam
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*Password* %n\n *Re-enter*new*password*%n\n
*Password*changed*
username map = /etc/samba/smbusers
unix password sync = Yes
log level = 1
syslog = 0
log file = /var/log/samba/%m
max log size = 50
smb ports = 139
name resolve order = wins lmhosts hosts
time server = Yes
load printers = No
add user script = /usr/sbin/useradd -m -g smbusers -s /bin/false -k
/etc/samba/smbskel/ -d '/data/samba/users/%u' '%u'
delete user script = /usr/sbin/userdel -r '%u'
add group script = /usr/sbin/groupadd '%g'
delete group script = /usr/sbin/groupdel '%g'
add user to group script = /usr/sbin/usermod -G '%g'
'%u'
add machine script = /usr/sbin/useradd -s /bin/false -d /tmp
'%u'
logon script = scripts\logon.bat
logon path = \\%L\profiles\%U
logon drive = q:
logon home = \\%L\%U
domain logons = Yes
preferred master = Yes
wins server = 172.25.8.86, 172.25.8.84
create mask = 0755
map acl inherit = Yes
veto files = /*.eml/*.nws/*.{*}/
veto oplock files = /*.doc/*.xls/*.mdb/
map hidden = Yes
map system = Yes
[homes]
....
No WINS:
[global]
dos charset = 852
unix charset = utf8
workgroup = OTB
server string = Samba Server %v
interfaces = eth0, lo
bind interfaces only = Yes
passdb backend = tdbsam
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*Password* %n\n *Re-enter*new*password*%n\n
*Password*changed*
username map = /etc/samba/smbusers
unix password sync = Yes
log level = 1
syslog = 0
log file = /var/log/samba/%m
max log size = 50
smb ports = 139
name resolve order = host lmhosts bcast
time server = Yes
load printers = No
add user script = /usr/sbin/useradd -m -g smbusers -s /bin/false -k
/etc/samba/smbskel/ -d '/data/samba/users/%u' '%u'
delete user script = /usr/sbin/userdel -r '%u'
add group script = /usr/sbin/groupadd '%g'
delete group script = /usr/sbin/groupdel '%g'
add user to group script = /usr/sbin/usermod -G '%g'
'%u'
add machine script = /usr/sbin/useradd -s /bin/false -d /tmp
'%u'
logon script = scripts\logon.bat
logon path = \\%L\profiles\%U
logon drive = q:
logon home = \\%L\%U
domain logons = Yes
preferred master = Yes
create mask = 0755
map acl inherit = Yes
veto files = /*.eml/*.nws/*.{*}/
veto oplock files = /*.doc/*.xls/*.mdb/
map hidden = Yes
map system = Yes
[homes]
...
Any ideas what is wrong with WINS?
Thanks!
Regards,
Petr
--
Ing. Petr Kopecky
E-mail: kejpi@centrum.cz
_______________________________________________________
OpenDocument is now international standard ISO/IEC 26300. Use OpenOffice!
It's free for everyone :-)
http://www.openoffice.org
http://www.openoffice.cz
_______________________________________________________