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

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


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

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

Debian/Ubuntu

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

Administrative password: secret

root@server:~# ldapsearch -x -b "dc=corpX,dc=un"

FreeBSD

[server:~] # pkg install openldap-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:~] # service slapd start
установка_и_настройка_openldap.txt · Последние изменения: 2017/07/24 12:28 — val