1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source4/auth
Andrew Bartlett f607197054 r1498: (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().

This also requires that we start the secrets subsystem, as that is
where the reseed value is stored, for systems without /dev/urandom.

In order to aviod identical streams in forked children, the random
state is re-initialised after the fork(), at the same point were we do
that to the tdbs.

Andrew Bartlett
(This used to be commit b97d3cb2ef)
2007-10-10 12:57:35 -05:00
..
auth_builtin.c r1019: Push the auth subsystem away from using typedef, and over to the 'all 2007-10-10 12:56:28 -05:00
auth_domain.c r1063: userdom_struct dies! 2007-10-10 12:56:36 -05:00
auth_sam.c r1335: NT_STATUS_INTERNAL_DB_CORRUPTION 2007-10-10 12:56:50 -05:00
auth_server.c r1063: userdom_struct dies! 2007-10-10 12:56:36 -05:00
auth_unix.c - port AUTH and PASSDB subsystems to new 2004-02-03 11:10:56 +00:00
auth_util.c r1294: A nice, large, commit... 2007-10-10 12:56:49 -05:00
auth_winbind.c r890: convert samba4 to use [u]int8_t instead of [u]int8 2007-10-10 12:56:16 -05:00
auth.c r1498: (merge from 3.0) 2007-10-10 12:57:35 -05:00
auth.h r1334: remove unused stuff 2007-10-10 12:56:50 -05:00
config.m4 r1294: A nice, large, commit... 2007-10-10 12:56:49 -05:00
config.mk r1461: ntlm_check.c is a server-side peice of code, so it belongs in AUTH. 2007-10-10 12:57:32 -05:00
ntlm_check.c r1461: ntlm_check.c is a server-side peice of code, so it belongs in AUTH. 2007-10-10 12:57:32 -05:00
pampass.c * the RPC-ECHO pipe now works in smbd, as long as the data sizes 2003-12-12 03:59:09 +00:00
pass_check.c r943: change samba4 to use 'uint8_t' instead of 'unsigned char' 2007-10-10 12:56:21 -05:00