LDAP
목차
개요
네트워크의 파일이나 장치의 위치를 찾을 때 사용하는 프로토콜, DAP의 경량판
설치
$ sudo apt-get update
$ sudo apt-get install slapd ldap-utils
버전 체크
$ slapd -VV
재설정
$ sudo dpkg-reconfigure slapd
config path
/etc/ldap/ldap.conf
database path
/var/lib/ldap
서비스 상태 확인
$ service slapd status
command line tool
$ apt install ldap-utils
command
ldap확인
ldapsearch -x
백업
$ sudo slapcat -b "dc=example,dc=com" -l db.ldif
복원
$ sudo slapadd -l db.ldif