> -----Original Message-----
> From: Ondřej Kuzník <on...@mistotebe.net>
> Sent: Tuesday, March 25, 2025 2:57 PM
> To: Windl, Ulrich <u.wi...@ukr.de>
> Cc: openldap-technical@openldap.org
> Subject: [EXT] Re: Q: "olcDatabase: {1}mdb" from slapcat: why "{1}"?
> 
> On Tue, Mar 25, 2025 at 10:57:11AM +0000, Windl, Ulrich wrote:
> > I have an amost philosophical question about LDIF and OenLDAP:
> >
> > Considering
> > dn: olcDatabase={1}mdb,cn=config
> > objectClass: olcDatabaseConfig
> > objectClass: olcMdbConfig
> > olcDatabase: {1}mdb
> > # ...
> >
> > I wonder why olcDatabase needs the "{1}" when olcDatabase is a single-
> valued attribute.
> > I understand that "olcDatabase={1}mdb" is needed for ordering the
> databases within cn=config,
> > But why is the "{1}" repeated for the actual attribute?
> 
> It is a "naming attribute" and it has to be present in the entry as per
> the RFC451x series[0].
> 
> [0]. e.g. https://datatracker.ietf.org/doc/html/rfc4512#section-2.3.1

Actually it's not explained clearly there: I had been looking for "brace" and 
"curly", and it only talks about string length to be specified using curly 
braces...

Kind regards,
Ulrich

Reply via email to