[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#9000) memberOf value is lost when group DN is modified with only case change
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#9000) memberOf value is lost when group DN is modified with only case change
- From: ondra@mistotebe.net
- Date: Wed, 05 Jun 2019 13:30:40 +0000
- Auto-submitted: auto-generated (OpenLDAP-ITS)
On Wed, Mar 27, 2019 at 04:39:14PM +0000, clement.oudot@worteks.com wrote:
> Seems it is because memberof try to add the new value before deleting the old
> one. As the values are the same when ignoring the case, the modification is
> rejected.
>
> I would say that doing the LDAP_SLIST_REMOVE before the LDAP_SLIST_INSERT_HEAD
> in memberof.c should be enough but I don't know if this is safe.
Alternatively checking that the new DN is not equivalent to the old and
if so, noop it? That's just been uploaded to
https://github.com/mistotebe/openldap/tree/its9000
Regards,
--
OndÅ?ej KuznÃk
Senior Software Engineer
Symas Corporation http://www.symas.com
Packaged, certified, and supported LDAP solutions powered by OpenLDAP