directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Merve Temizer <mervet2...@gmail.com>
Subject Custom Object Class
Date Mon, 10 Sep 2012 08:33:56 GMT
For the importing below ldif file

dn: cn=schema
changetype: modify
add: attributeTypes
attributeTypes: ( 2.25.128424792425578037463837247958458780603.32
        NAME 'orgName'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458780603.33
        NAME 'orgPhone'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458780603.34
        NAME 'orgFax'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458780603.35
        NAME 'orgContactName'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458780603.36
        NAME 'orgCountry'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458780603.37
        NAME 'orgCity'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458780603.38
        NAME 'orgAddress'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )

-
add: objectClasses
objectClasses: ( 2.25.128424792425578037463837247958458780603.39
    NAME 'myOrganization'
    DESC 'myOrganization'
    SUP organizationalUnit
    STRUCTURAL
    MAY  ( orgName $ orgPhone $ orgFax $ orgContactName $ orgCountry
orgCity $ orgAddress)
 )

I am getting the error for all the attribute types

[11:31:26] ERROR
[org.apache.directory.shared.ldap.model.entry.DefaultEntry] - ERR_04269
ATTRIBUTE_TYPE for OID x-read-only does not exist!
[11:31:26] ERROR
[org.apache.directory.shared.ldap.model.entry.DefaultEntry] - ERR_04269
ATTRIBUTE_TYPE for OID x-enabled does not exist!


Also i can not see myOrganization after server restart and refresh the
objectClass select list.

Mime
View raw message