Full_Name: Geert Hendrickx Version: 2.4.42 OS: URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (212.123.14.2) 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 A%A 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.
moved from Incoming to Software Bugs
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. ftp://ftp.openldap.org/incoming/Ondrej-Kuznik-20170330a-ITS-8266-Allow-empty-mods.patch Regards, -- Ondřej Kuzník Senior Software Engineer Symas Corporation http://www.symas.com Packaged, certified, and supported LDAP solutions powered by OpenLDAP
On Thu, Mar 30, 2017 at 12:00:41 +0200, Ondřej Kuzník wrote: > Hi Geert, > the following patch should fix the issue. > ftp://ftp.openldap.org/incoming/Ondrej-Kuznik-20170330a-ITS-8266-Allow-empty-mods.patch Hi Ondřej, I verified your patch on 2.4.x and it works for me! Thanks, Geert -- geert.hendrickx.be :: geert@hendrickx.be :: PGP: 0xC4BB9E9F This e-mail was composed using 100% recycled spam messages!
changed notes changed state Open to Test
changed notes changed state Test to Release
Fixed in master Fixed in RE25 Fixed in RE24 (2.4.45)
changed notes changed state Release to Closed