On Sat, 2004-04-24 at 07:17, Chris Pelton wrote:
> Hi All,
> 
> I'm fine tuning my home grown IDS system that checks md5 sums of 
> important config files, and was going to put the secrets.tdb file in the 
> mix, but can't find when and where changes are made to this file. We had 
> a change this morning but nobody was logged in to either Unix or Samba, 
> that I can tell. Of course I'm not able to read it either.
> 
> This is a stand alone samba server, v 3.0.0, running on Solaris 9.

Every time an smbd fork()s, it writes a new random seed into
secrets.tdb.  This is to avoid the nasy case where all child smbds could
be using the same random seed, and therefore produce the same random
challenge in the authentication system.

Even network browsing, or browse list synchronisation (a common
periodic, anonymous task on netbios networks) will cause it.

Now, looking at the code, on any sane system we use /dev/urandom for
this anyway, so in fact we could remove that, keep secrets.tdb (more)
stable, and avoid an atomic write/change on the tdb for every fork()...

Andrew Bartlett

-- 
Andrew Bartlett                                 [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org     http://build.samba.org     http://hawkerc.net

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to