ldap: Fix ldap server on CentOS 7
This commit is contained in:
parent
0a387884fd
commit
0f5bb01b48
2 changed files with 30 additions and 5 deletions
15
ldap/templates/slapd.sysconfig.erb
Normal file
15
ldap/templates/slapd.sysconfig.erb
Normal file
|
@ -0,0 +1,15 @@
|
|||
# OpenLDAP server configuration
|
||||
# see 'man slapd' for additional information
|
||||
|
||||
# Where the server will run (-h option)
|
||||
# - ldapi:/// is required for on-the-fly configuration using client tools
|
||||
# (use SASL with EXTERNAL mechanism for authentication)
|
||||
# - default: ldapi:/// ldap:///
|
||||
# - example: ldapi:/// ldap://127.0.0.1/ ldap://10.0.0.1:1389/ ldaps:///
|
||||
SLAPD_URLS="ldapi:/// ldap:/// ldaps:///"
|
||||
|
||||
# Any custom options
|
||||
SLAPD_OPTIONS="-f /etc/openldap/slapd.conf<% if @ipv6enabled == 'false' %> -4<% end %>"
|
||||
|
||||
# Keytab location for GSSAPI Kerberos authentication
|
||||
KRB5_KTNAME="FILE:/etc/openldap/ldap.keytab"
|
Loading…
Add table
Add a link
Reference in a new issue