Configure slapd to force use of TLS

This commit is contained in:
Benjamin Dauvergne 2015-01-15 16:35:39 +01:00
parent 53d7f7b770
commit 99c8e96e08
2 changed files with 5 additions and 0 deletions

View File

@ -19,6 +19,8 @@ install:
chmod 0644 $(LIBDIR)/*.help
install -o root -g root -m 0755 -d $(SHAREDIR)
install -o root -g root -m 0755 share/* $(SHAREDIR)
install -o openldap -g openldap -m 600 ldap.pem $(ETCDIR)
install -o openldap -g openldap -m 600 ldap.key $(ETCDIR)
uninstall:
rm $(BINDIR)/slapd-supann

View File

@ -6,6 +6,9 @@ olcPidFile: /var/run/slapd/slapd.pid
olcToolThreads: 1
olcLogLevel: none
olcServerId: 1
olcSecurity: simple_bind=128
olcTLSCertificateFile: /etc/ldap/ldap.pem
olcTLSCertificateKeyFile: /etc/ldap/ldap.key
dn: cn=module{0},cn=config
objectClass: olcModuleList