January 7, 2020
OpenLDAP 명령어 모음
Computer / 컴퓨터패키지 설치 root:# apt install slapd ldap-utils root:# vi /etc/hosts /etc/hosts 파일을 열어서 OpenLDAP이 resolving할 호스트명을 적어준다 127.0.0.1 localhost ldap ldap.abc.com /etc/ldap/ldap.conf 를 열고 BASE DN과 URI를 적어준다. BASE dc=abc,dc=com URI ldap://ldap.abc.com:389/ 패키지를 재설정 root:# dpkg-reconfigure slapd 선택사항 omit OpenLDAP server configuration: No DNS domain name: abc.com Organization name: dc=abc,dc=com Database backend to use: MDB Do you want the database to be removed when slapd is purged? No Move old database? Yes Allow LDAPv2 protocol? No 제대로 됐는지 확인 root# ldapsearch -Q -LLL -Y EXTERNAL -H ldapi:/// -b cn=config dn […]
Recent Comments