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

Re: [ldapmodify] multiple entries of the same attibute



On Fri, 13 Oct 2017, richard lucassen wrote:

GUI ldap clients like jxplorer are able to change a single mail: entry. Using "ldapmodify" I replace the first mail: entry, but it will delete the other mail: antries:

#################################################################

change.diff file:

dn: cn=Joe Sixpack,ou=addressbook,dc=example,dc=com
changetype: modify
replace: mail
mail: otheruser@example.com
-

In other words, it did exactly what you told it to do i.e. replace an attribute that happened to have multiple values with one that has but a singe value; you need to specify the entire set of desired values.

What a third-party application does is irrelevant; plainly it hid this detail from you.

--
Dave Horsfall DTM (VK2KFU)  "Those who don't understand security will suffer."