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

(ITS#5774) Modifications not saved on file by back-ldif (on Windows)

Full_Name: Emmanuel Duru
Version: 2.4.11
OS: Windows
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

On Windows, modifications are not saved on file by back-ldif.
This is the case for example with cn=config.

Reading back-ldif code I see that when modifying an entry, back-ldif creates a
temporary file containing the modified entry, and then renames the temporary
file to the entry file.
On Windows, renaming a file to an already existing file does not work, it gets
an ERROR_ALREADY_EXISTS error (183), error code which is ignored by back-ldif.