Skip to content

rurumimic/how-to-openldap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

How to OpenLDAP

OpenLDAP 서버를 구축하는 방법


Architecture 1

  • MirrorMode
  • Delta-syncrepl
  • TLS

Architecture 2

  • MirrorMode
  • Delta-syncrepl
  • TLS
  • SASL GSSAPI
  • Kerberos V

Kerberos를 사용하는 아키텍처는 다음 GitHub를 확인한다.

OpenLDAP과 Kerberos V 연동


Cases: 경우의 수

OpenLDAP을 활용하여 구축하는 방법은 여러 가지가 있다.

Provider & Consumer

  1. Single Master: 기본 설정
  2. Multiple Master
    • 장점: single-master의 단일 장애점 해결. 고가용성.
    • 단점: 로드밸런싱 기능 없음. single-master 보다 성능이 좋지 않음.
  3. MirrorMode
    • 장점: 고가용성. Hot-Standby 혹은 Active-Active.
    • 단점: 로드밸런싱 기능 필요.
  4. Syncrepl Proxy Mode: Consumer가 직접 Provider에 접근할 수 없을 때 사용

Replication

  1. Syncrepl: 객체 기반 복제
    • refreshOnly: 폴링
    • refreshAndPersist: 리스닝
  2. Delta-syncrepl: 변경로그 기반 복제

Security

TLS

X.509 인증서를 이용해 LDAP 서버와 보안 통신한다.

SASL EXTERNAL 매커니즘을 사용한다.

SASL

RFC 4422: Simple Authentication and Security Layer

SASL GSSAPI 매커니즘으로 Kerberos V를 사용한다.

TLS 통신이나 ldapi:/// 유닉스 도메인 소켓 통신을 할 때는 EXTERNAL 매커니즘을 사용한다.

나머지 매커니즘은 고려하지 않는다.


Links


2.4 Administrator's Guide 해석

  1. LDAP
  2. Service Design
  3. Installation
  4. Configuration
  5. Access Control
  6. Limits
  7. Backends
  8. Overlays
  9. Schema
  10. Security
  11. SASL
  12. TLS
  13. Replication
  14. Maintenance
  15. Monitoring
  16. Tuning
  17. Troubleshooting

Releases

No releases published

Packages

No packages published