Products | Versions |
---|---|
TIBCO ActiveMatrix BusinessWorks Plug-in for LDAP | - |
Not Applicable | - |
Resolution:
Clients using LDAP APIs should provide the attribute value in order to delete the attribute. This is the restriction of the LDAP API. If it is not feasible to set the attribute value or the value is not known, the following two approaches could be used:-
i. Before the LDAP_MOD_DELETE operation, do an LDAP_SEARCH. Fetch the value of the attribute which you want to delete, then pass it to the LDAP_MOD_DELETE
.
ii. Before the LDAP_MOD_DELETE operation, do an LDAP_MOD_REPLACE, replace the value of the attribute which you want to delete to a blank value(""), then do the LDAP_MOD_DELETE, set the value of the attribute which you want to delete as "".