[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: deletion of multivalues



At 04:48 AM 12/23/2003, ramana wrote:
>What is the behaviour of ldap_modify_s if I try to delete some but not
>all of 'multi valued attribute' and the scenerio is as follows,
>
>For example,
>
>Existing attribute in ldap db.
>cn: one
>cn: two
>cn: three
>
>I want to delete following cn multi values using ldap_modify_s,
>
>cn: one
>cn: four
>
>'cn: four' is not there in ldap db. How will ldap_modify_s responds?

Well, ldap_modify_s responds how ever the server responds to
the issued LDAP Modify request.  A LDAPv3 conformant server,
such as OpenLDAPv2 slapd(8), should respond with an error since
the value four of cn cannot be deleted (as it doesn't exist).

Kurt