[PATCH v3] Seed random generator in main()
rmccorkell at karoshi.org.uk
Tue Jun 23 14:19:35 MDT 2015
While a decision is being made on the random number generation stuff,
the issue that this patch fixes remains a problem. At the moment,
shuffling for MSDFS and DC referrals is woefully poor, essentially being
the same in a given second. In addition, the built-in libc RNG is seeded
every request, which is really inefficient.
I know this patch isn't the way we ultimately want to go, but it does
fix the issue at hand, so reviews please? :)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: OpenPGP digital signature
More information about the samba-technical