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

Problem with slapadd



I am running OpenLDAP HEAD branch and attempting to run the command:

# slapadd -c -l testdata.ldif
slapadd: dn="dc=georgefox,dc=edu" (line=8): no structural object classes provided
slapadd: dn="uid=abrock,dc=georgefox,dc=edu" (line=91): invalid structural object class chain (gfuPerson/ctCalUser)
#


I am assuming that the "no structural object classes provided" is due to this being the first entry in the database (i.e., I am NOT creating a "dc=edu" object). However, I am baffled by the second entry. The schema which includes gfuPerson and ctCalUser has been working for over a year on the OpenLDAP 2.0.X release series of code. Has something changed to affect this in the development code?

I am attaching my two schema files below,

Tony

# $OpenLDAP: pkg/ldap/servers/slapd/schema/gfu.schema,v 1.10.2.2 2000/07/04 17:58:59 kurt Exp $
#
# George Fox University directory schema items
#
# depends upon:
# core.schema
# cosine.schema
# inetorgperson.schema
#
attributetype ( 1.3.6.1.4.1.1115.1.1
NAME 'middleName'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )


attributetype ( 1.3.6.1.4.1.1115.1.2
        NAME 'deletionDate'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
        SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.1115.1.3
        NAME 'active'
        EQUALITY integerMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
        SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.1115.1.4
        NAME 'homestate'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
        SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.1115.1.5
        NAME 'homezip'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
        SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.1115.1.6
        NAME 'homeaddress'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
        SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.1115.1.7
        NAME 'homezipext'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
        SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.1115.1.8
        NAME 'homeaddress1'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
        SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.1115.1.9
        NAME 'universityID'
        DESC 'George Fox employee numerical identifier'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
        SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.1115.1.10
        NAME 'homecity'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
        SINGLE-VALUE )

objectClass ( 1.3.6.1.4.1.1115.2.1 NAME 'gfuPerson'
        DESC 'George Fox Account'
        SUP ( account $ inetOrgPerson )
        MAY ( universityID $ middleName $ homecity $ homestate $
                homezip $ homezipext $ homeaddress $ homeaddress1 $
                deletionDate $ active ) )

objectClass ( 1.3.6.1.4.1.1115.2.2 NAME 'sysAccount'
        DESC 'George Fox System Account'
        SUP ( account )
        MUST ( cn )
        MAY ( uid $ userPassword $ deletionDate $ active $ mail $ active ) )

########################################################################
# $Id: ct-calendar-schema.conf,v 1.9 1999/11/03 21:33:15 ridwant Exp $
#-----------------------------------------------------------------------
# Description   :   CorporateTime Server Schema Extension for
#   Open LDAP Directory Server 2.0.
#-----------------------------------------------------------------------
# Copyright     :   (c) 1998-99 by Corporate Software & Technologies
#   Int. Inc.  All rights reserved.
########################################################################

attributetype ( 1.3.6.1.4.1.2672.1.1
        NAME 'ctCalAccess'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.2
        NAME 'ctCalAccessDomain'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.3
        NAME 'ctCalAdmd'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.4
        NAME 'ctCalDefaultNoteReminder'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.5
        NAME 'ctCalDefaultReminder'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.6
        NAME 'ctCalDefaultTaskReminder'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.7
        NAME 'ctCalDisplayPrefs'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.8
        NAME 'ctCalFlags'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.9
        NAME 'ctCalHost'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.10
        NAME 'ctCalLanguageId'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.11
        NAME 'ctCalNodeAlias'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.12
        NAME 'ctCalNotifMechanism'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.13
        NAME 'ctCalOperatingPrefs'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.14
        NAME 'ctCalOrgUnit2'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.15
        NAME 'ctCalOrgUnit3'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.16
        NAME 'ctCalOrgUnit4'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.17
        NAME 'ctCalPasswordRequired'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.18
        NAME 'ctCalPrmd'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.19
        NAME 'ctCalRefreshPrefs'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.20
        NAME 'ctCalResourceCapacity'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.21
        NAME 'ctCalResourceNumber'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.22
        NAME 'ctCalServerVersion'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.23
        NAME 'ctCalSysopCanWritePassword'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.24
        NAME 'ctCalTimezone'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.25
        NAME 'ctCalXItemId'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.26
        NAME 'ctCalOrgUnit1'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.27
        NAME 'ctCalOrganization'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.28
        NAME 'ctCalCountry'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.29
        NAME 'ctCalMobileTelephoneType'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.30
        NAME 'ctCalPreferredSMSCTelephoneNumber'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.2672.1.31
        NAME 'ctCalPublishedType'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

objectclass ( 1.3.6.1.4.1.2672.3.3
        NAME 'ctCalUser'
        SUP ( organizationalPerson )
        MUST ( objectClass )
        MAY ( c $ employeeNumber $ generationQualifier $ givenName $
                initials $ mail $ o $ ou $ ctCalAccess $ ctCalAccessDomain $
                ctCalAdmd $ ctCalDefaultNoteReminder $ ctCalDefaultReminder $
                ctCalDefaultTaskReminder $ ctCalDisplayPrefs $ ctCalFlags $
                ctCalHost $ ctCalLanguageId $ ctCalNodeAlias $
                ctCalNotifMechanism $ ctCalOperatingPrefs $ ctCalOrgUnit2 $
                ctCalOrgUnit3 $ ctCalOrgUnit4 $ ctCalPasswordRequired $
                ctCalPrmd $ ctCalRefreshPrefs $ ctCalServerVersion $
                ctCalSysopCanWritePassword $ ctCalTimezone $ ctCalXItemId $
                ctCalOrgUnit1 $ ctCalOrganization $ ctCalCountry $
                ctCalMobileTelephoneType $ ctCalPreferredSMSCTelephoneNumber $
                ctCalPublishedType ) )

objectclass ( 1.3.6.1.4.1.2672.3.1
        NAME 'ctCalAdmin'
        MUST ( objectClass $ ctCalXItemId )
        MAY ( c $ cn $ facsimileTelephoneNumber $ generationQualifier $
                givenName $ initials $ mail $ o $ ou $ postalAddress $ sn $
                telephoneNumber $ userPassword $ ctCalAccess $
                ctCalAccessDomain $ ctCalAdmd $ ctCalFlags $ ctCalHost $
                ctCalLanguageId $ ctCalNodeAlias $ ctCalOrgUnit2 $
                ctCalOrgUnit3 $ ctCalOrgUnit4 $ ctCalPasswordRequired $
                ctCalPrmd $ ctCalServerVersion $ ctCalSysopCanWritePassword $
                ctCalXItemId $ ctCalOrgUnit1 $ ctCalOrganization $
                ctCalCountry ) )

objectclass ( 1.3.6.1.4.1.2672.3.2
NAME 'ctCalResource'
MUST ( objectClass )
MAY ( cn $ facsimileTelephoneNumber $ givenName $ mail $ postalAddress $
sn $ telephoneNumber $ userPassword $ ctCalAccess $
ctCalAccessDomain $ ctCalDefaultNoteReminder $
ctCalDefaultReminder $ ctCalDefaultTaskReminder $
ctCalDisplayPrefs $ ctCalFlags $ ctCalHost $ ctCalLanguageId $
ctCalNodeAlias $ ctCalNotifMechanism $ ctCalOperatingPrefs $
ctCalPasswordRequired $ ctCalRefreshPrefs $
ctCalResourceCapacity $ ctCalResourceNumber $
ctCalServerVersion $ ctCalSysopCanWritePassword $
ctCalTimezone $ ctCalXItemId ) )


########################################################################
# End of file `ct-calendar-schema.conf'.



******************************************************************************
* Anthony Brock                                         abrock@georgefox.edu *
* Director of Network Services                         George Fox University *
******************************************************************************