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

Re: Duplicate attributeType: "2.5.4.13"



On Sun, 2005-07-24 at 00:16 -0700, Howard Chu wrote:
> 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
> >>>  (http://www.openldap.org/doc/admin23/slapdconf2.html).
> >>>
> >>>  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: "2.5.4.13"
> >>>
> >>>  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 2.5.4.13 is commented out, 
> because the definition is hard-coded. You can only receive a "Duplicate 
> attributeType" error for 2.5.4.13 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,

My mistake, you were right.
I had an old OpenLDAP install on my test box.
The installation of OpenLDAP 2.3.4 did not overwrite the old config
files.

I was able to generate the LDIF config files.

Thanks for your help.

Sam