Update Existing Entry
Let's take a look at the program steps necessary to update an entry for
a specific person. Take a look at the example program
clue-upd.c
.
In this case, the entry for with a distinguished name (dn) of
uid=donaldd,dc=matchg,dc=com
will be updated.
-
This LDAP entry will be modified to specify two E-Mail addresses
don@quack.com
and duck@disney.com
-
Note that any existing attributes with the same attribute name will be
deleted for that entry.
-
If you need to add to the existing entry, you will need to read the
existing attribute values; the new values should then be appended to the
list.