This function returns one of the following values:
LDAP_SUCCESS if the values were successfully added to the entry. The function also returns LDAP_SUCCESS if the entry is NULL, if the entry’s DN is NULL, or if the entry’s RDN is NULL.
LDAP_INVALID_DN_SYNTAX if the DN of the entry cannot be parsed.