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
--------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
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%20Layout
The ordering numbers do not need to be provided; they will be generated automatically.
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.
openldap-software@openldap.org