[PATCH v3] Seed random generator in main()

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Jun 17 09:09:27 MDT 2015

On Wed, Jun 17, 2015 at 10:58:37AM -0400, Simo wrote:
> Well for me it meant "not using our own PRNG", so yeah we can use krb5
> or openssl or what you have, as long as we use something that is vetted
> an updated by people that know what they are doing and consider good
> random number generation as one of their top priorities.

On BSDs I would consider the system arc4random functions in that
league. At least that's what all the documentation suggests. Please
correct me if I'm wrong.

On Linux we could always use urandom, right. Other systems might require
other things.


SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de

More information about the samba-technical mailing list