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

(ITS#8705) Windows registry key creation incorrect



Full_Name: Quanah Gibson-Mount
Version: 2.4.45
OS: Windows 10 64-bit
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (47.208.148.239)


When installing OpenLDAP on windows, it creates a registry key for the Eventlog
to map startup/shutdown events.  There was an attempt to fix the problem with
the key value back in 2003, 6e8adce9d94ffff125d6acce669c35245d73d0df.  However,
the fix is incorrect.

Without 6e8adce9d94ffff125d6acce669c35245d73d0df, the key value is set to (on a
64-bit install):

"C:\Program Files\OpenLDAP\slapd.exe service"

With 6e8adce9d94ffff125d6acce669c35245d73d0df, the key value is set to (on a
64-bit install):

"C:\Program"

The value that works is:

"C:\Program Files\OpenLDAP\slapd.exe"

The goal of 6e8adce9d94ffff125d6acce669c35245d73d0df was to strip of " service",
but since it simply parses on a single space, if the install path has a space
elsewhere in it, you end up with the incorrect value noted above.