Configure slapd to force use of TLS
This commit is contained in:
parent
53d7f7b770
commit
99c8e96e08
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in New Issue