[Date Prev][Date Next] [Chronological] [Thread] [Top]

RANDFILE environment variable not working (ITS#1069)



Full_Name: Albert Chin-A-Young
Version: 2.0.7
OS: Solaris 2.6/SPARC
URL: ftp://ftp.thewrittenword.com/outgoing/pub/openldap-2.0.7-randfile.patch
Submission from: (NULL) (216.80.72.157)


Setting the environment variable RANDFILE does not cause OpenLDAP to use the
path
specified by RANDFILE as the entropy device substitute for /dev/random. Also,
it seems there is support in libraries/libldap/tls.c for setting this path
in slapd.conf but no corresponding variable is set in servers/slapd/config.c.

The patch at:
  ftp://ftp.thewrittenword.com/outgoing/pub/openldap-2.0.7-randfile.patch
fixes both of these issues.