Samba 2.0.6 Interfaces
Jay D. Anderson
jay.anderson at dw.deere.com
Thu Mar 30 16:04:57 GMT 2000
I am seeing the same problem with nmbd failing to renew WINS
registrations. The server is running Solaris 2.6, and I am running
Samba 2.0.6 nmbd and smbd from inetd.
Everything works well for a while. The renewal interval on the WINS
server is set to 144 hours (six days). The time is moved back regularly
through the day (it keeps it six days out, I don't see it doing the
"refresh" at half the interval as you mention). The Samba server
appears to reregister every 20 minutes. Then the date stops getting
moved back, and the registration entries are eventually tombstoned. The
nmbd appears to still be carrying out its other functions, but it has
stopped registering with the WINS server.
"Armstrong, Scott" wrote:
>
> We're had some recurring problems with nmbd's on Solaris 2.7
and Irix 6.5
> failing to renew their WINS registrations in a timely manner
causing the
> records to become tombstoned. While we've solved it by
issuing "pkill" and
> "killall", respectively, of nmbd nightly from root's
crontab, I wanted to
> alert the authors and other administrators to the problem so
similar
> workarounds can be implemented where appropriate and,
hopefully, a fix can
> be implemented into 2.0.7 before its release.
Can you investigate what TTL is being returned to the nmbd
from the WINS server when it registers a name ?
The way the code works is it registers the name, requesting
a time to live of "max ttl" from the smb.conf (3 days by
default), and then gets the TTL from the WINS reply packet and
sets that as the internal "death time", and then sets the
"refresh time" to be half the returned value from the
WINS server.
Thus nmbd should refresh its names in plenty of time (that's
the theory). If this is failing I'd like to track it down.
Regards,
Jeremy Allison,
Samba Team.
--
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------
--
---------------------------------------------------------------------
Jay D. Anderson John Deere Davenport Works
Jay at Deere.com P.O. Box 4198
Phone: 319.388.4268 Fax: 319.388.4159 Davenport, Iowa 52808
http://www.dw.deere.com/~hz01930 http://www.geneseo.net/~jaya
More information about the samba
mailing list