OpenLDAP Upgrade problem - invalid value for attributeType
I've been tasked with moving our OpenLDAP from one server to another and in the process to upgrade it from v 1.4 (I think it is) to 2.3.43 running on Red Hat 5.5.
Everything was going fine until I noticed that not all the data was being transferred. Not being not LDAP expert, I tried to load a few objects manually (see below) to see what the problem was and this is what I found.
slapadd -v -c -d -1 -l /tmp/person_info.ldif -f /etc/ldap/slapd.d.conf
=> str2entry: "dn: cn=ucsInetOrgPerson Template Info,cn=Directory Administration,o=The UCS
>>> dnPrettyNormal: <cn=ucsInetOrgPerson Template Info,cn=Directory Administration,o=The UCS Company>
<<< dnPrettyNormal: <cn=ucsInetOrgPerson Template Info,cn=Directory Administration,o=The UCS Company>, <cn=ucsinetorgperson template info,cn=directory administration,o=the ucs company>
str2entry: invalid value for attributeType includesClasses #0 (syntax 126.96.36.199.4.1.14188.8.131.52.38)
slapadd: could not parse entry (line=7)
I'm pretty sure it's a problem with one of the schemas but what exactly I don't know. As you can see we're using our own schema - here is a scaled down extract from the ucsInetOrgPerson schema.
objectclass ( 184.108.40.206.4.83220.127.116.11 NAME 'ucsInetOrgPerson'
MAY ( mailalias $ flags $ prefix $ specialty $ displayComment $
locationCode $ pollNumber $ alternateAddress ) )
attributetype ( 18.104.22.168.5.8322.214.171.124 NAME 'includesClasses'
SYNTAX 126.96.36.199.4.1.14188.8.131.52.38 )
In my slad.conf I'm including the following schemas.
At this point I'm pretty stuck and any help or pointing in the right direction would be greatly appreciated.
Last edited by brucecoad; 06-04-2010 at 06:20 PM.