안녕하세요.
OpenLDAP 2.1에서 스키마 파일을 인크루딩 시키고, slapd를 실행 시킬때, 아래와 같은 에러가 출력되는군요.
--------------------------------------------------------------------------------------------
/usr/local/etc/openldap/schema/test-sm.schema: line 115: user-defined ObjectClass has inappropriate SUPerior: "managedObject"
--------------------------------------------------------------------------------------------
www.openldap.org에서도 찾아봤지만, 안보이더군요. 그래서 여러분의 도움을 구합니다.
@.스키마는 다음과 같습니다.
--------------------------------------------------------------------------------------------
attributetype ( 1.3.6.1.4.1.20047.1.1.2.1.0 NAME 'referredObjectReference' DESC 'reverse pointer to Object reference. SUP is distinguishedName(Syntax is DN). Multiple values are allowed.' SUP distinguishedName SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
attributetype ( 1.3.6.1.4.1.20047.1.1.2.1.1 NAME 'actualObjectReference' DESC 'Pointer to Ponder Object from object reference. SUP is distingushishedName (Syntax is DN)' SUP distinguishedName SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.20047.1.1.2.1.2 NAME 'ponderPolicyType' DESC 'Type identifier. Syntax is Directory String (Ver 2.63)' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.20047.1.1.2.1.3 NAME 'policyIsType' DESC 'Indicates whether the PonderObject is a type or not. Syntax is Boolean. BecauseNetscape Directory Server does not support Boolean, We use Directory String instead.' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.20047.1.1.2.1.4 NAME 'accessControllerRef' DESC 'A pointer to Access Controller. SUP is distinguishedName(Its syntax is DN).' SUP distinguishedName SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.20047.1.1.2.1.5 NAME 'controlObjectRef' DESC 'A pointer to objectControl. Its syntax is Directory String (URL of RMI).' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.20047.1.1.2.1.6 NAME 'appliedPolicies' DESC 'A reference to all the policies that apply to the domain - Multiple values allowed. SUP is distinguishedName(Its synta x is DN).' SUP distinguishedName SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
attributetype ( 1.3.6.1.4.1.20047.1.1.2.1.7 NAME 'javaByteCode' DESC 'Java byte code programming a Java class. Syntax is Octet String. Because Netscape Directory server does not support Octet String, we use Binary instead.' SYNTAX 1.3.6.1.4.1.1466.115.121.1.5 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.20047.1.1.2.1.8 NAME 'objectType' DESC 'The type of a resource managed object. Its syntax is Directory String. There could be multiple' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
attributetype ( 1.3.6.1.4.1.20047.1.1.2.1.9 NAME 'xmlCode' DESC 'The XML code for the Ponder Object. Syntax is Directory String.' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.20047.1.1.2.1.10 NAME 'ponderUserId' DESC 'A unique Id for the user. The syntax is Directory String.' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.20047.1.1.2.1.11 NAME 'policyOwner' DESC 'The unique Id of the creator of the basic policy' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.20047.1.1.2.1.12 NAME 'creationTime' DESC 'An Integer indicating the creation time of the basic policy' SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.20047.1.1.2.1.13 NAME 'weight' DESC 'An Integer indicating a weight-value the basic policy' SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.20047.1.1.2.1.14 NAME 'certificate' DESC 'Local temporary' SYNTAX 1.3.6.1.4.1.1466.115.121.1.5 )
attributetype ( 1.3.6.1.4.1.20047.1.1.2.1.15 NAME 'publickey' DESC 'Local temporary' SYNTAX 1.3.6.1.4.1.1466.115.121.1.5 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.20047.1.1.2.1.16 NAME 'privatekey' DESC 'Local temporary' SYNTAX 1.3.6.1.4.1.1466.115.121.1.5 SINGLE-VALUE )
objectclass ( 1.3.6.1.4.1.20047.1.1.2.2.0 NAME 'ldapObject' DESC 'Top of Ponder objects (Abstract Class)' SUP top ABSTRACT )
objectclass ( 1.3.6.1.4.1.20047.1.1.2.2.1 NAME 'managedObject' DESC 'Object handled in Ponder (Abstract Class)' SUP ldapObject AUXILIARY MAY ( accessControllerRef $ referredObjectReference $ objectType ) )
objectclass ( 1.3.6.1.4.1.20047.1.1.2.2.2 NAME 'objectReference' DESC 'The psudo node for plural parents' SUP ldapObject STRUCTURAL MUST ( cn $ actualObjectReference ) )
objectclass ( 1.3.6.1.4.1.20047.1.1.2.2.3 NAME 'ponderObject' DESC 'Policy Object including Basic Policy and Composite Policy' SUP managedObject ABSTRACT MUST ( ponderPolicyType $ policyIsType $ controlObjectRef ) MAY ( xmlCode ) )
objectclass ( 1.3.6.1.4.1.20047.1.1.2.2.4 NAME 'basicPolicyObject' DESC 'A Ponder Basic Policy' SUP ponderObject AUXILIARY MAY ( policyOwner $ creationTime $ weight ) )
objectclass ( 1.3.6.1.4.1.20047.1.1.2.2.5 NAME 'compositePolicyObject' DESC 'A Ponder Composite Policy' SUP ponderObject AUXILIARY )
objectclass ( 1.3.6.1.4.1.20047.1.1.2.2.6 NAME 'domainObject' DESC 'Domain' SUP managedObject STRUCTURAL MUST ( cn ) MAY ( appliedPolicies ) )
objectclass ( 1.3.6.1.4.1.20047.1.1.2.2.7 NAME 'enforcementComponent' DESC 'Execution engine for Policies (Abstract class)' SUP managedObject ABSTRACT MUST ( javaByteCode ) )
objectclass ( 1.3.6.1.4.1.20047.1.1.2.2.8 NAME 'policyMgmtComponent' DESC 'Execution engine for obligation policies' SUP enforcementComponent AUXILIARY )
objectclass ( 1.3.6.1.4.1.20047.1.1.2.2.9 NAME 'accessController' DESC 'Execution engine for authorization policies' SUP enforcementComponent AUXILIARY )
objectclass ( 1.3.6.1.4.1.20047.1.1.2.2.10 NAME 'userProfileObject' DESC 'An entry to represent the user in the system' SUP managedObject AUXILIARY MUST ( ponderUserId ) )
--------------------------------------------------------------------------------------------
데이터베이스 사랑넷 식구 모두 좋은 하루되십시오. ^_______^;
|