[Bug 462922] Import of data does not record timestamps...
During the setup, I import a ldif file, which contains just the suffix object
(with the InstallLdifFile option during silent setup).
The createTimestamp and modifyTimestamp operational attributes were not
generated during this import. This eventually leads into a WARNING message,
when I create vlv indexes for the timestamp attributes.
See the following thread from the mailing list.
Comment by Rich in the mailing list: createTimestamp should be present, unless
you have nsslapd-lastmod turned off.
cvs diff ldap/servers/slapd/back-ldbm/import-threads.c
Description: add a static function import_add_created_attrs to add
CreatorsName, ModifiersName, CreateTimestamp, ModifyTimestamp to each imported
entry. I also added a check if nsslapd-lastmod is on or off. It adds the created
info only if the lastmod is on.
Please note: creatorsName and modifiersName are empty. I followed the
"add" case, which leaves the names empty when the creator's name is not
available. For the imported entries, we can choose not to put the name
lines at all. I'd like to have your comments on it, which would be more