svn commit: samba r1493 - in trunk/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 07:30:57 GMT 2004


Author: abartlet
Date: 2004-07-14 07:30:57 +0000 (Wed, 14 Jul 2004)
New Revision: 1493

Modified:
   trunk/source/auth/auth.c
   trunk/source/lib/afs.c
   trunk/source/lib/genrand.c
   trunk/source/lib/util_uuid.c
   trunk/source/libsmb/ntlmssp.c
   trunk/source/libsmb/smbencrypt.c
   trunk/source/nsswitch/wbinfo.c
   trunk/source/nsswitch/winbindd_pam.c
   trunk/source/passdb/machine_sid.c
   trunk/source/passdb/secrets.c
   trunk/source/python/py_winbind.c
   trunk/source/rpc_client/cli_netlogon.c
   trunk/source/rpc_parse/parse_prs.c
   trunk/source/rpc_server/srv_netlog_nt.c
   trunk/source/rpc_server/srv_pipe.c
   trunk/source/smbd/server.c
   trunk/source/torture/torture.c
   trunk/source/utils/ntlm_auth.c
   trunk/source/wrepld/server.c
Log:
(merge from 3.0)

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=/trunk/source&rev=1493&nolog=1


More information about the samba-cvs mailing list