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 2354 게시물 읽기
No. 2354
[openldap]structuralObjectclass
작성자
박찬호(chanhopark)
작성일
2007-06-11 15:27ⓒ
2007-06-11 15:28ⓜ
조회수
6,177

안녕하세요.

이번에 openldap을 사용하게 되었는데, 기존에 사용하던 SunONE과 다르게 하나의 엔트리의 속성을 확인해보면

objectlcass: person
structuralObjectclass: person

이런식으로 objectclass속성이 들어가 있습니다.

SunONE에서는 structuralobjectclass를 사용하지 않는데 openldap에서 structuralobjectclass의 값이 들어가 있더라구요.

이 차이점이 뭔지 잘 모르겠습니다.

structuralObjectclass를 사용하는 이유를 알고싶습니다.

알려주세요....

이 글에 대한 댓글이 총 2건 있습니다.
http://database.sarang.net/?inc=read&aid=1012&criteria=ldap&subcrit=&id=&limit=20&keyword=aux&page=1
이글을 먼저 읽고 이해해보고

그리고 어트리뷰트는 shodow or slave서버에 자동으로 생성되는 시스템 어트리뷰트이다.

This is normal good, expected behavior.  The only thing that should
write to the slaves is the master, which will include the Operational
attributes.  (including structuralObjectClass) Clients writing to the
master should not include structuralObjectClass for that same reason;
it is an internal-use attribute that client software should not touch.

If you need to play special games like having external software write
to a slave, you'll need to understand what these operational
attributes are and what semantics are associated with them.

If you need to replicate via slurpd to a slapd that believes itself to
be a master, you'll need to strip these attributes out.  The
slapd.conf(5) manpage has the details on how to specify a list of
attributes to include or exclude for each replica...

If you are loading LDIF via ldapadd that was dumped via slapcat or
similar, you'll also need to strip these attributes out or load via
the offline tool slapadd.

읽어보면 이해 할거 같은데... 수고


송상준(sjsong)님이 2007-06-11 16:10에 작성한 댓글입니다.

답변 감사합니다..ㅎㅎ

그런데 제가 영어가 좀 약해서...ㅎㅎㅎ

내용이 슬레이브 서버쪽에 일반적으로 데이터 수정 및 변경을 막기 위하여 operational attribute로 structuralobjectclass를 복제시 마스터에서 슬레이브로 내부적으로 추가를 시킨다는 뜻이 맞나요?

만약 그렇다면 Master에는 structuralobjectclass가 없고, slave에만 structuralobjectclass가 있는 건가요?

아님 해석을 잘못한건가요???ㅎㅎ

박찬호(chanhopark)님이 2007-06-11 18:48에 작성한 댓글입니다.
[Top]
No.
제목
작성자
작성일
조회
2359LDAP에서 쿼리시 8226 에러 [1]
김기훈
2007-06-28
6300
2358[개발]XSO관련 질문입니다.. [1]
장성훈
2007-06-28
6382
2356asp.net AD 연동질문입니다.. [3]
장성훈
2007-06-15
7381
2354[openldap]structuralObjectclass [2]
박찬호
2007-06-11
6177
2352[질문] ldapadd 질문입니다. [1]
문성주
2007-05-22
6432
2349openLDAP 의 DN 에 관해서 질문이여~ [2]
문성주
2007-05-18
6307
2348LDAP 이란걸 오늘 알게되었습니다. 도움요청.. [4]
문성주
2007-05-15
10766
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2023 DSN, All rights reserved.
작업시간: 0.050초, 이곳 서비스는
	PostgreSQL v16.1로 자료를 관리합니다