[389-devel] Please review: [Bug 525007] ldif2db replaces existing modify/create name and timestamps

Ulf Weltman ulf.weltman at hp.com
Fri Sep 25 17:49:42 UTC 2009


Summary: ldif2db replaces existing modify/create name and timestamps
https://bugzilla.redhat.com/show_bug.cgi?id=525007

[Problem Description]
LDIF that is imported might contain createTimestamp, creatorsName, 
modifyTimestamp, or modifiersName. The import code since FDS 1.2 inserts 
these attributes but it should only do so if they're missing; any 
existing values should take precedence.

[Fix Description]
Only insert the attributes if they don't already exist in the entry.  
attrlist_find() rather than slapi_entry_attr_find() is used because the 
latter reports attributes with empty values as being missing attributes.

[Proposed Fix]
https://bugzilla.redhat.com/attachment.cgi?id=362157

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6110 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-devel/attachments/20090925/6e02ba8e/attachment.bin>


More information about the Fedora-directory-devel mailing list