[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
empty ldapmodify refused with slapo-unique
- To: openldap-technical@openldap.org
- Subject: empty ldapmodify refused with slapo-unique
- From: Geert Hendrickx <geert@hendrickx.be>
- Date: Mon, 14 Sep 2015 17:14:56 +0200
- Content-disposition: inline
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=hendrickx.be; s=geert; t=1442243696; bh=VzrEx9FjvlreCMnqeNFNeSu8a2uVwrTLbBg0lAeEk6I=; h=Date:From:To:Subject; b=bM3ypifVmPR9Qwuqsw0sYtP5eWKtNf9SNS9yren1O+asL2XlMkwr0isy2rIpyFAsz 6f96NrXMJXtCEr60/v2tAABsrWZcObvkXPumj7DDBVxYatinyaHfIJSXT77/+1lRVU tHTjqIx7DdCKoubocLDMZnTF6IhktlHejbR0GndF6zLmmchy22ZB3GSNltf+0C/Ahh NlZ5cNFUs+hmNEJx3kvr1p63cizDt0HunAmE8z1yfGD6p/B+d0sXeTQb5PnVTCu3Je 6uAyCIYD9o0EvUpRMK5sJ15bGJYE1eUZrjERIE64sxEb6NWiWGT5WYsYVQabrxX66G rVoqF31u/0xqg==
- User-agent: Mutt/1.5.24 (2015-08-30)
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.
Geert
--
geert.hendrickx.be :: geert@hendrickx.be :: PGP: 0xC4BB9E9F
This e-mail was composed using 100% recycled spam messages!