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 1001 게시물 읽기
No. 1001
Re: Netscape Directory server와 openLDAP의 스키마.
작성자
양재웅(fullman)
작성일
2001-09-01 15:17
조회수
8,750

우선 비교해볼까요??

NetScape의 경우 다음의 Attribute정의 형식 파일을 사용합니다.

attribute attribute-name [attribute-aliases] [attribute-oid] syntax

 

그리고 openLdap의 경우는

attributetype <RFC2252 Attribute Type Description>

 

으로 기술 되어 있습니다.

 

무엇이 다를까요???

보기에도 한눈에 달라보이지요.. 네그렇습니다만 표현 형식 만이 다를 뿐입니다.

bin(binary),ces(case exact string), cie(case ignore string), ...등 Netscape에서

사용하는 SYNTAX에서는 oid가 아니라 이름으로 사용하고 있죠...

bin, ces, cis...등은 RFC 2252에 정의 되어 있습니다.

 

따라서 Netscape에서 정의한 스키마를 openldap에서 쓰고 싶다면

똑같이 형식에 맞추어 정의 하기만 한다면 쓸 수 있읍니다.

문의 하신 내용에 따라 정리해보면 아래의 내용은 RFC2252에 정의 된 내용이구요...

 

 Value being represented        H-R OBJECT IDENTIFIER
   =================================================================
   ACI Item                        N  1.3.6.1.4.1.1466.115.121.1.1
   Access Point                    Y  1.3.6.1.4.1.1466.115.121.1.2
   Attribute Type Description      Y  1.3.6.1.4.1.1466.115.121.1.3
   Audio                           N  1.3.6.1.4.1.1466.115.121.1.4
   Binary                          N  1.3.6.1.4.1.1466.115.121.1.5
   Bit String                      Y  1.3.6.1.4.1.1466.115.121.1.6
   Boolean                         Y  1.3.6.1.4.1.1466.115.121.1.7
   Certificate                     N  1.3.6.1.4.1.1466.115.121.1.8
   Certificate List                N  1.3.6.1.4.1.1466.115.121.1.9
   Certificate Pair                N  1.3.6.1.4.1.1466.115.121.1.10
   Country String                  Y  1.3.6.1.4.1.1466.115.121.1.11
   DN                              Y  1.3.6.1.4.1.1466.115.121.1.12
   Data Quality Syntax             Y  1.3.6.1.4.1.1466.115.121.1.13
   Delivery Method                 Y  1.3.6.1.4.1.1466.115.121.1.14
   Directory String                Y  1.3.6.1.4.1.1466.115.121.1.15
   DIT Content Rule Description    Y  1.3.6.1.4.1.1466.115.121.1.16
   DIT Structure Rule Description  Y  1.3.6.1.4.1.1466.115.121.1.17
   DL Submit Permission            Y  1.3.6.1.4.1.1466.115.121.1.18
   DSA Quality Syntax              Y  1.3.6.1.4.1.1466.115.121.1.19
   DSE Type                        Y  1.3.6.1.4.1.1466.115.121.1.20
   Enhanced Guide                  Y  1.3.6.1.4.1.1466.115.121.1.21
   Facsimile Telephone Number      Y  1.3.6.1.4.1.1466.115.121.1.22
   Fax                             N  1.3.6.1.4.1.1466.115.121.1.23
   Generalized Time                Y  1.3.6.1.4.1.1466.115.121.1.24
   Guide                           Y  1.3.6.1.4.1.1466.115.121.1.25
   IA5 String                      Y  1.3.6.1.4.1.1466.115.121.1.26
   INTEGER                         Y  1.3.6.1.4.1.1466.115.121.1.27
   JPEG                            N  1.3.6.1.4.1.1466.115.121.1.28
   LDAP Syntax Description         Y  1.3.6.1.4.1.1466.115.121.1.54
   LDAP Schema Definition          Y  1.3.6.1.4.1.1466.115.121.1.56
   LDAP Schema Description         Y  1.3.6.1.4.1.1466.115.121.1.57
   Master And Shadow Access Points Y  1.3.6.1.4.1.1466.115.121.1.29
   Matching Rule Description       Y  1.3.6.1.4.1.1466.115.121.1.30
   Matching Rule Use Description   Y  1.3.6.1.4.1.1466.115.121.1.31
   Mail Preference                 Y  1.3.6.1.4.1.1466.115.121.1.32
   MHS OR Address                  Y  1.3.6.1.4.1.1466.115.121.1.33
   Modify Rights                   Y  1.3.6.1.4.1.1466.115.121.1.55
   Name And Optional UID           Y  1.3.6.1.4.1.1466.115.121.1.34
   Name Form Description           Y  1.3.6.1.4.1.1466.115.121.1.35
   Numeric String                  Y  1.3.6.1.4.1.1466.115.121.1.36
   Object Class Description        Y  1.3.6.1.4.1.1466.115.121.1.37
   Octet String                    Y  1.3.6.1.4.1.1466.115.121.1.40
   OID                             Y  1.3.6.1.4.1.1466.115.121.1.38
   Other Mailbox                   Y  1.3.6.1.4.1.1466.115.121.1.39
   Postal Address                  Y  1.3.6.1.4.1.1466.115.121.1.41
   Protocol Information            Y  1.3.6.1.4.1.1466.115.121.1.42
   Presentation Address            Y  1.3.6.1.4.1.1466.115.121.1.43
   Printable String                Y  1.3.6.1.4.1.1466.115.121.1.44
   Substring Assertion             Y  1.3.6.1.4.1.1466.115.121.1.58
   Subtree Specification           Y  1.3.6.1.4.1.1466.115.121.1.45
   Supplier Information            Y  1.3.6.1.4.1.1466.115.121.1.46
   Supplier Or Consumer            Y  1.3.6.1.4.1.1466.115.121.1.47
   Supplier And Consumer           Y  1.3.6.1.4.1.1466.115.121.1.48
   Supported Algorithm             N  1.3.6.1.4.1.1466.115.121.1.49
   Telephone Number                Y  1.3.6.1.4.1.1466.115.121.1.50
   Teletex Terminal Identifier     Y  1.3.6.1.4.1.1466.115.121.1.51
   Telex Number                    Y  1.3.6.1.4.1.1466.115.121.1.52
   UTC Time                        Y  1.3.6.1.4.1.1466.115.121.1.53

 

를 기준으로 Netscape의 Attribute를 OpenLdap의 Attribute로 정의 하시면 되구요....더 자세한건 RFC2252를 참조 하십시요...

 

그리고

SYNTAX는 Attribute의 속성(?)을 나타내구요...

SUP은 Supirior 즉, 상속받은 상위 클래스의 Oid를 나타냅니다...

 

음...주저리주저리 말이 많았군요...

 

도움이 되었기를 바랍니다...

-- 이수진 님이 쓰신 글:

>> Netscape Directory server에서 제공하는 스키마 파일의 형식과

>> openLDAP의 스키마 파일의 형식이 다른데...

>> 이 두개가 변환이 가능한 가요?

>>

>> 예를 들어 openLDAP에서 core.schema 에서는

>> --------------------------------------------------------

>> attributetype ( 2.5.4.0 NAME \'objectClass\'

>> EQUALITY objectIdentifierMatch

>> SYNTAX 1.3.6.1.4.1.1466.115.121.1.38 )

>>

>> attributetype ( 2.5.4.3 NAME ( \'cn\' \'commonName\' ) SUP name )

>> --------------------------------------------------------

>> openLDAP에서는 attributetype을 정의할 때

>> \'SUP\'이나 \'SYNTAX\' 를 반드시 적어주어야 하는 것으로 알고 있습니다..

>>

>> 그런데 Netscape Directory server의 경우에서는

>> SYNTAX를 bin,cis,ces,...로 정의하더군요...

>>

>> Netscape Directory server에서 정의한 \"A\"라는 attribute가 있을때

>> (예 attribute A [OID] bin )

>> 이것을 openLDAP에서 변환해서 쓰려면

>> openLDAP의 SYNTAX는 어떤 것을 기준으로 정해주어야 하는 건가요?

>> (예 attributetype ( [OID] NAME A

>> SYNTAX ???? )

[Top]
No.
제목
작성자
작성일
조회
1009[질문]connection pool ?
param
2001-09-03
8688
1011┕>Re: [질문]connection pool ?
박근오
2001-09-04 21:07:32
9299
1005[질문]search할 때 or 조건을 쓸 수 있나요?
param
2001-09-03
8401
1007┕>Re: [질문]search할 때 or 조건을 쓸 수 있나요?
박근오
2001-09-03 16:33:39
9160
1003[질문] iPlanet과 JNDI를 이용해서 EntryAdd도중에..
김윤한
2001-09-03
8589
1006┕>Re: [질문] iPlanet과 JNDI를 이용해서 EntryAdd도중에..
이수진
2001-09-03 11:50:46
9100
999Netscape Directory server와 openLDAP의 스키마.
이수진
2001-08-31
6465
1001┕>Re: Netscape Directory server와 openLDAP의 스키마.
양재웅
2001-09-01 15:17:12
8750
1004 ┕>Re: Re: Netscape Directory server와 openLDAP의 스키마.
이수진
2001-09-03 11:32:02
8536
1008  ┕>Re: Re: Re: Netscape Directory server와 openLDAP의 스키마.
양재웅
2001-09-03 17:32:03
8972
986LDAP Server 접근을 어떻게 해야 하죠?
김상헌
2001-08-30
6419
990┕>Re: LDAP Server 접근을 어떻게 해야 하죠?
박근오
2001-08-30 16:43:02
7276
997┕>Re: LDAP Server 접근을 어떻게 해야 하죠?
송상준
2001-08-31 09:41:16
7473
971win98용 LDAP클라이언트 컴파일
김기홍
2001-08-29
7026
979┕>Re: win98용 LDAP클라이언트 컴파일
박근오
2001-08-29 21:19:10
7684
970openldap와 openssl 의 연동을 어떻게?
배두현
2001-08-29
7885
985┕>Re: openldap와 openssl 의 연동을 어떻게?
박근오
2001-08-30 10:10:21
7809
1000 ┕>Re: Re: 답변 감사합니다.
배두현
2001-08-31 11:20:31
8707
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2023 DSN, All rights reserved.
작업시간: 0.051초, 이곳 서비스는
	PostgreSQL v16.1로 자료를 관리합니다