


# cd /etc/ldap/ldifconfigs OpenLDAP Configuration Configure LDAPSĭebian wiki recommends backuping LDAP server configuration before trying to configure LDAPS, because breaking the configuration with the “cn=config” style would prevent the LDAP server to restart. UserPassword:: e1AAAAAAQnZSS3JOTnVBbGpmd0VTZ0l3MjVDays= Here’s how our /etc/default/slapd looks like: # grep -ve "^#" -ve "^$" /etc/default/slapd Open /etc/default/slapd and make sure the following line exists (feel free to listen on IPv6 if needed): SLAPD_SERVICES="ldap://0.0.0.0:389/ ldaps://0.0.0.0:636/ ldapi:///" Do you want the database to be removed when slapd is purged? No.To configure slapd, do: # dpkg-reconfigure -p low slapd The latest version of slapd (v2.4.31 on Debian) only asks for an admin user password and none of the configuration details.

ldapsearch – search for and display entries.The ldap-utils package contains the following tools: Install the slapd package answering the prompt to set an admin user password: # apt-get update & apt-get install slapd ldap-utils Setting up an OpenLDAP server on Debian Wheezy.
