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

Re: (ITS#8266) empty ldapmodify refused with slapo-unique

On Thu, Oct 08, 2015 at 03:33:28PM +0000, geert@hendrickx.be wrote:
> When slapo-unique constraints are in effect, it seems empty updates are
> no longer allowed:
> $ ldapmodify -x -h localhost -D cn=Manager,dc=my-domain,dc=com -w secret
> dn: cn=test1,dc=my-domain,dc=com
> changetype: modify
> modifying entry "cn=test1,dc=my-domain,dc=com"
> ldap_modify: Invalid syntax (21)
>         additional info: unique_modify() got null op.orm_modlist
> Why is this considered invalid syntax?  Without slapo-unique constraint,
> empty updates like these are accepted.

Hi Geert,
the following patch should fix the issue.


OndÅ?ej Kuzník
Senior Software Engineer
Symas Corporation                       http://www.symas.com
Packaged, certified, and supported LDAP solutions powered by OpenLDAP