On Thu, Mar 27, 2025 at 12:07:23PM +0000, Windl, Ulrich wrote:
> Hi!
> 
> I thought I had explained my thoughts:
> 
> I understand that braces are needed to _order_ multi-valued attributes
> (the "entries" within the parent),

Hi Ulrich,
that is not the only use of the ordered values. It is also used to order
siblings (e.g. children of "olcDatabase={0}config,cn=config" here).

> but I don't understand wha the
> braces are needed for an attribute that is single-valued (thus there
> is no ordering possible). For example: olcOverlay is SINGLE-VALUE
> (there may be only one overlay in an olcOverlayConfig object).
>
> So why is this wrong then?:
> dn: olcOverlay={1}accesslog,olcDatabase={0}config,cn=config
> objectClass: olcOverlayConfig
> objectClass: olcAccessLogConfig
> olcOverlay: accesslog
> ...

One last time: RDN of "olcOverlay={1}accesslog" implies "{1}accesslog"
(exactly!) needs to be a value of the "olcOverlay" attribute because
the LDAP object model says so. The implication goes one way. The end.

Regards,

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

Reply via email to