How can we use the TIBCO Adapter (TM) for LDAP to delete an attribute of an LDAP Server entry, without providing the current value of the attribute as part of the request?
book
Article ID: KB0094149
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for LDAP
-
Not Applicable
-
Description
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 "".
Issue/Introduction
How can we use the TIBCO Adapter (TM) for LDAP to delete an attribute of an LDAP Server entry, without providing the current value of the attribute as part of the request?