database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
PostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
ㆍLDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
LDAP Q&A 1998 게시물 읽기
No. 1998
[질문] 스키마 추가 후 에러메세지" user-defined ObjectClass has inappropriate SUPerior"
작성자
서명국(rasyu)
작성일
2004-01-31 01:30ⓒ
2004-02-02 06:25ⓜ
조회수
7,380

안녕하세요.

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 ) )

--------------------------------------------------------------------------------------------

 

 

 

데이터베이스 사랑넷 식구 모두 좋은 하루되십시오. ^_______^;

 

이 글에 대한 댓글이 총 4건 있습니다.

스키마 전체를 올려 주세요...

 

그래야 알것 같은데요

송상준(sjsong)님이 2004-01-31 09:49에 작성한 댓글입니다.

송상준님 감사합니다.

본문을 수정하여, 스키마 전체를 올립니다. 오브젝트 정의가 잘못되었는지 거기에서 에러가 나는군요.

그럼 부탁을 드립니다. ^^ 좋은하루 되십시오.

서명국(rasyu)님이 2004-02-02 06:18에 작성한 댓글입니다.

혹시

Abstract , Structural, Aux class 때문에 그런게 아닌가 싶은데

 

Abstract를 Aux에서 SUP할 수 없지 않나 개념상....

 

한번 바꿔보세요

 

 

지나가는 사람님이 2004-02-03 09:32에 작성한 댓글입니다. Edit

지나가는 사람님, 감사합니다.

지적하신 부분을 지우고 slapd를 실행하니 동작합니다.

 

이제 어플리케이션을 실행하고, 확인해봐야겠습니다.

좋은 시간되십시오.

 

서명국(rasyu)님이 2004-02-03 19:02에 작성한 댓글입니다.
[Top]
No.
제목
작성자
작성일
조회
2006예전에 박근오님이 올려 놓으신... [4]
박귀일
2004-02-09
7913
2004[질문]OpenLDAP을 Windows용으로 포팅 가능한 버젼?
김태성
2004-02-05
7545
1999[질문]VPN장비의 Ldap 파일의 스키마 구조를 엑셀로 정리하는게 [1]
박주현
2004-02-03
7222
1998[질문] 스키마 추가 후 에러메세지" user-defined ObjectClass has inappropriate SUPerior" [4]
서명국
2004-01-31
7380
1997iPlanet Directory Server 5.1에서 index 질문입니다. [4]
조윤희
2004-01-29
6987
1996송상준님은 누군가요?(텅텅~) [2]
비밀
2004-01-28
6500
1995LDAP에 관해 [4]
이종권
2004-01-27
7207
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2022 DSN, All rights reserved.
작업시간: 0.067초, 이곳 서비스는
	PostgreSQL v14.2로 자료를 관리합니다