CVSROOT:        /cvs
Module name:    src
Changes by:     clau...@cvs.openbsd.org 2021/12/20 06:26:11

Modified files:
        usr.sbin/ldapd : attributes.c modify.c 

Log message:
When removing the last value from an attribute in ldap_del_values()
the actuall attribute needs to removed instead of leaving back an
empty attribute. Empty attributes are not valid and fail later on
in ldap_modify(). By calling ldap_del_attribute() in this case
properly removes the attribute and with that validate_entry() no
longer fails later on.
OK jmatthew@

Reply via email to