emmanuel.duru(a)atosorigin.com wrote:
Full_Name: Emmanuel Duru
Version: 2.4.11
OS: Windows
URL:
Submission from: (NULL) (80.78.0.137)
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
file.
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.
No. The C standard specifies that global and static variables are initialized
to zero by default. If you're a C programmer you should know this already.
--
-- Howard Chu
CTO, Symas Corp.
http://www.symas.com
Director, Highland Sun
http://highlandsun.com/hyc/
Chief Architect, OpenLDAP
http://www.openldap.org/project/