------------------- slapd.conf ---------------------------
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/samba.schema
include /etc/openldap/schema/misc.schema
password-hash {md5}
pidfile /var/run/slapd.pid
argsfile /var/run/slapd.args
TLSCertificateFile /etc/openldap/certs/cert.pem
TLSCertificateKeyFile /etc/openldap/certs/key.pem
TLSCipherSuite HIGH:MEDIUM:+TLSv1:+SSLv2:+SSLv3
loglevel -1
database bdb
suffix "dc=meirion-dwyfor,dc=ac,dc=uk"
rootdn "cn=Manager,dc=meirion-dwyfor,dc=ac,dc=uk"
directory /var/lib/openldap/openldap-data
index objectClass eq
index cn pres,sub,eq
index sn pres,sub,eq
index uid pres,sub,eq
index displayName pres,sub,eq
index uidNumber eq
index gidNumber eq
index memberUID eq
index sambaSID eq
index sambaPrimaryGroupSID eq
index sambaDomainName eq
index default sub
------------------- ldap.conf ------------------------
BASE dc=meirion-dwyfor,dc=ac,dc=uk
URI ldap://localhost
TLS_CACERT /etc/openldap/certs/cacert.pem
-------------------------------------------------------