[Date Prev][Date Next]
Re: Duplicate attributeType
--On Monday, November 07, 2005 12:55 PM -0500 Jason Lixfeld
So I'm not quite sure what's going on here. I try to start slapd, I get
a "Duplicate attributeType error, but there is only one attribute in all
included schema which is using that OID. The actual entry cn attribute
type entry in core.schema looks like this:
attributetype ( 22.214.171.124 NAME ( 'cn' 'commonName' )
DESC 'RFC2256: common name(s) for which the entity is known by'
SUP name )
More stuff below...
root@oob1# /usr/local/etc/rc.d/slapd.sh start
/usr/local/etc/openldap/schema/core.schema: line 82: Duplicate
root@oob1# grep "126.96.36.199 " /usr/local/etc/openldap/schema/*
/usr/local/etc/openldap/schema/core.schema:attributetype ( 188.8.131.52 NAME
( 'cn' 'commonName' )
184.108.40.206 NAME ( 'cn' 'commonName' )
root@oob1# grep include /usr/local/etc/openldap/slapd.conf
It looks to me like you modified the core.schema file to uncomment cn.
Modifying the schema files shipped with openldap is a very bad idea. Some
of the attributes are hard coded into the server (like cn) and that is why
they are commented out. I suggest replacing your core.schema file with
Principal Software Developer
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html