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 Regards, -- Ondřej Kuzník Senior Software Engineer Symas Corporation http://www.symas.com Packaged, certified, and supported LDAP solutions powered by OpenLDAP