svn commit: samba r1492 - in branches/SAMBA_3_0/source: auth lib libsmb nsswitch passdb python rpc_client rpc_parse rpc_server smbd torture utils wrepld

abartlet at samba.org abartlet at samba.org
Wed Jul 14 04:36:02 GMT 2004


Author: abartlet
Date: 2004-07-14 04:36:01 +0000 (Wed, 14 Jul 2004)
New Revision: 1492

Modified:
   branches/SAMBA_3_0/source/auth/auth.c
   branches/SAMBA_3_0/source/lib/afs.c
   branches/SAMBA_3_0/source/lib/genrand.c
   branches/SAMBA_3_0/source/lib/util_uuid.c
   branches/SAMBA_3_0/source/libsmb/ntlmssp.c
   branches/SAMBA_3_0/source/libsmb/smbencrypt.c
   branches/SAMBA_3_0/source/nsswitch/wbinfo.c
   branches/SAMBA_3_0/source/nsswitch/winbindd_pam.c
   branches/SAMBA_3_0/source/passdb/machine_sid.c
   branches/SAMBA_3_0/source/passdb/secrets.c
   branches/SAMBA_3_0/source/python/py_winbind.c
   branches/SAMBA_3_0/source/rpc_client/cli_netlogon.c
   branches/SAMBA_3_0/source/rpc_parse/parse_prs.c
   branches/SAMBA_3_0/source/rpc_server/srv_netlog_nt.c
   branches/SAMBA_3_0/source/rpc_server/srv_pipe.c
   branches/SAMBA_3_0/source/smbd/server.c
   branches/SAMBA_3_0/source/torture/torture.c
   branches/SAMBA_3_0/source/utils/ntlm_auth.c
   branches/SAMBA_3_0/source/wrepld/server.c
Log:
Rework our random number generation system.

On systems with /dev/urandom, this avoids a change to secrets.tdb for every fork().

For other systems, we now only re-seed after a fork, and on startup.
No need to do it per-operation.  This removes the 'need_reseed'
parameter from generate_random_buffer().

Andrew Bartlett



WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_3_0/source&rev=1492&nolog=1


More information about the samba-cvs mailing list