wiki:linux/OpenLDAP

Version 1 (modified by yuna, 55 years ago) (diff)

--

OpenLDAP

インストール

# apt-get install slapd ldap-utils

設定

#dpkg-reconfigure slapd

Omit OpenLDAP server configuration? ... No
DNS domain name: ... dom1.dom2
Name of your organization: ... Whatever & Co
Admin Password: XXXXX
Confirm Password: XXXXX
OK
BDB
Do you want your database to be removed when slapd is purged? ... No
Move old database? ... Yes
Allow LDAPv2 Protocol? ... No

検索

$ ldapsearch -L -x -b dc=dom1,dc=dom2