Asterisk Blacklist Hobby webbhotell


Install OpenLDAP on Ubuntu 14.04

Filed under: LDAP — Mathz @ 13:11


apt-get update
apt-get install slapd ldap-utils

Set password for admin


vim /etc/ldap/ldap.conf (not existing)

# LDAP Defaults

# See ldap.conf(5) for details
# This file should be world readable but not world writable.

BASE dc=example,dc=com
URI ldap:// ldap://

#DEREF never

# TLS certificates (needed for GnuTLS)
TLS_CACERT /etc/ssl/certs/ca-certificates.crt

Start reconfigure

dpkg-reconfigure slapd

Omit OpenLDAP server config: No
DNS domain name:
Orgianization name: MyCompany
Administrato password:
Database backend to use: HDB
Do you want the database to be removed when slapd is purged: Yes
Move old database: Yes (backup of database)
Allow LDAPv2 protocol: No

Now you can see your config

ldapsearch -x

Powered by WordPress