[Date Prev][Date Next]
(ITS#5774) Modifications not saved on file by back-ldif (on Windows)
Full_Name: Emmanuel Duru
Submission from: (NULL) (184.108.40.206)
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.