Инструменты пользователя

Инструменты сайта


установка_и_настройка_openldap

Это старая версия документа.


Установка и настройка OpenLDAP

Ubuntu

root@server:~# apt install slapd ldap-utils

Administrative password: secret

root@server:~# ldapsearch -x -LLL -H ldap:/// -b dc=corpX,dc=un dn

FreeBSD

[server:~] # pkg install openldap-server

[server:~] # pkg_add -r openldap24-server

[server:~] # cat /usr/local/etc/openldap/slapd.conf
...
include         /usr/local/etc/openldap/schema/core.schema
include         /usr/local/etc/openldap/schema/cosine.schema
include         /usr/local/etc/openldap/schema/inetorgperson.schema
include         /usr/local/etc/openldap/schema/nis.schema
...
moduleload      back_mdb
...
suffix                "dc=corpX,dc=un"
rootdn                "cn=admin,dc=corpX,dc=un"
...
[server:~] # cat /etc/rc.conf
...
slapd_enable="YES"
[server:~] # /usr/local/etc/rc.d/slapd start

[server:~] # rehash
установка_и_настройка_openldap.1475152337.txt.gz · Последние изменения: 2016/09/29 15:32 — val