| 1 | = OpenLDAP = |
| 2 | == インストール == |
| 3 | {{{ |
| 4 | # apt-get install slapd ldap-utils |
| 5 | }}} |
| 6 | == 設定 == |
| 7 | {{{ |
| 8 | #dpkg-reconfigure slapd |
| 9 | |
| 10 | Omit OpenLDAP server configuration? ... No |
| 11 | DNS domain name: ... dom1.dom2 |
| 12 | Name of your organization: ... Whatever & Co |
| 13 | Admin Password: XXXXX |
| 14 | Confirm Password: XXXXX |
| 15 | OK |
| 16 | BDB |
| 17 | Do you want your database to be removed when slapd is purged? ... No |
| 18 | Move old database? ... Yes |
| 19 | Allow LDAPv2 Protocol? ... No |
| 20 | }}} |
| 21 | == 検索 == |
| 22 | {{{ |
| 23 | $ ldapsearch -L -x -b dc=dom1,dc=dom2 |
| 24 | }}} |