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

(ITS#5668) Invalid entryCSN generated, and slapd will not restart

Full_Name: Emmanuel Duru
Version: 2.4.11
OS: Windows
Submission from: (NULL) (

On Windows, slapd generates entryCSN values such as:
20080822124130.-657205Z#000000#000#000000 (the problem is the minus sign).
This is also the case when generating the cn=config branch from a slapd.conf
Following this, slapd will not restart, because it checks the validity of
entryCSN values on cn=config branch at startup.
I believe that the problem comes from non initialized static variables in
lutil_gettime() function.
Do notice that initializations are also missing in non WIN32 section.