Re: fix ldapd bug when removing last attribute

2021-12-19 Thread Jonathan Matthew
On Sun, Dec 19, 2021 at 01:31:24PM +0100, Claudio Jeker wrote: > In LDAP there is two ways to remove an attribute. > One can remove an attribute by just naming the attribute but it is also > possible to remove a specific attribute: value combo. > > In ldapd the latter is broken if the last attribu

fix ldapd bug when removing last attribute

2021-12-19 Thread Claudio Jeker
In LDAP there is two ways to remove an attribute. One can remove an attribute by just naming the attribute but it is also possible to remove a specific attribute: value combo. In ldapd the latter is broken if the last attribute is removed because the result of ldap_del_values() is an invalid encod