Listing 1 slapd config file
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
security ssf=128
TLSCertificateFile /usr/share/ssl/certs/ldap.pem
TLSCertificateKeyFile /usr/share/ssl/certs/ldap.pem
access to attrs=userPassword
by dn="cn=Manager,dc=example,dc=net" write
by self write
by * auth
access to *
by * read
#moduleload /usr/lib/ldap/back_ldbm.so
database ldbm
suffix "dc=example,dc=net"
rootdn "cn=Manager,dc=example,dc=net"
rootpw {SSHA}VXQ1Vb+zQq9ALfAErPyhdB9XhMlbI+5m
directory /var/lib/ldap
index objectClass,uid,uidNumber,gidNumber,memberUid eq
index cn,mail,surname,givenname eq,subinitial
|