[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Duplicate attributeType: ""

Samuel Tran wrote:
Howard Chu wrote:

Samuel Tran wrote:

 Hi All,

 I am currently testing OpenLDAP 2.3.4. After successfully building it
 I am now trying to configure slapd using the new style

 However when I try to run: /usr/local/libexec/slapd -f
 /etc/openldap/slapd.conf -F /etc/openldap/slapd.d

 I get the following message: /etc/openldap/schema/core.schema: line
 128: Duplicate attributeType: ""

Has anyone experienced the same problem?

You appear to be using a core.schema file from OpenLDAP 2.2. That won't work, you have to use the 2.3 schema files with the 2.3 code.
The core.schema I am using is the one from OpenLDAP 2.3.4.
In the 2.3.4 file the definition of attribute is commented out, because the definition is hard-coded. You can only receive a "Duplicate attributeType" error for because you're using a core.schema file from an older release with the 2.3.4 code, or you have manually edited your 2.3.4 core.schema file (which you are never supposed to do).

 -- Howard Chu
 Chief Architect, Symas Corp.  http://www.symas.com
 Director, Highland Sun        http://highlandsun.com/hyc
 OpenLDAP Core Team            http://www.openldap.org/project/