Chapter 56. Parameters that Convert Strings to Entries

The parameters listed below are pblock parameters; they are flags that can be passed to the slapi_str2entry() function.
Parameter ID Description
SLAPI_STR2ENTRY_ADDRDNVALS In the conversion from strings to entries, adds the RDN value as an attribute if it is not present.
SLAPI_STR2ENTRY_BIGENTRY Provides a hint that the entry is large; this enables some optimizations related to large entries.
SLAPI_STR2ENTRY_EXPAND_OBJECT CLASSES Adds any missing ancestor values based on the object class hierarchy.
SLAPI_STR2ENTRY_IGNORE_STATE Ignores entry state information if present.
SLAPI_STR2ENTRY_INCLUDE_VERSION_STR Returns entries that have a version: 1 line as part of the LDIF representation.
SLAPI_STR2ENTRY_NOT_WELL_FORMED_LDIF Informs slapi_str2entry() that the LDIF input is not well formed. Well formed LDIF input has no duplicate attribute values, already has the RDN as an attribute of the entry, and has all values for a given attribute type listed contiguously.
SLAPI_STR2ENTRY_REMOVEDUPVALS Removes duplicate values.
SLAPI_STR2ENTRY_TOMBSTONE_CHECK Checks to see if the entry is a tombstone; if so, sets the tombstone flag.