[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: cn=config
Hi !
What about updating the schema (e.g. adding a new attributeType)
though
an ldapmodify operation (e.g. towards the
cn={2}myschema,cn=schema,cn=config"
entry)?
Is it needed (in that case) to include the "right" ordering number
(to the
attributeType being defined)?
Thanks in advance
BR / Antonio
-----Original Message-----
From: openldap-software-bounces+antonio.alonso=ericsson.com@OpenLDAP.org
[mailto:openldap-software-bounces+antonio.alonso=ericsson.com@OpenLDAP.o
rg] On Behalf Of Howard Chu
Sent: martes, 06 de mayo de 2008 23:44
To: Mike Johnston
Cc: openldap-software@openldap.org
Subject: Re: cn=config
Mike Johnston wrote:
> Hi,
> When adding olcObjectClasses & olcAttributeTypes to my schema in
> cn=config, what are the requirements if any for the values? I see when
> I imported from slapd.conf, Openldap auto generated numbers in braces
> {0} {1} {2} {3} {4} with the proper syntax for the value being
assigned.
> Must I use the numbers in braces or can I just toss in the syntax
> correct string for my new attribute and/or objectclass?
> Thanks
As stated in the Admin Guide
http://www.openldap.org/doc/admin24/slapdconf2.html#Configuration%20Layo
ut
The ordering numbers do not need to be provided; they will be generated
automatically.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/