#1 Addition/deletion of records only uses modify operations
Closed: Fixed None Opened 14 years ago by mnagy.

Currently, when we add a new record to LDAP, we only do it by modify operation. If the object in LDAP didn't exist before, the operation will fail. We should check the return value and in case of fail we should try to add a new object.

For deletion, we might do the same thing. If there are no other records left, we might delete the whole object.


We now use ldap_add_ext_s() if the modify operation fails because of non-existent object. The deletion however is still only using modify operations.

Partially fixed in: 9adee8b

Metadata Update from @mnagy:
- Issue assigned to atkac
- Issue set to the milestone: 0.1.1ipa

7 years ago

Login to comment on this ticket.

Metadata