ldap: Removed IPv6 support from server if IPv6 is not enabled on host.
This commit is contained in:
parent
f6cc316cb1
commit
871a98bc2a
2 changed files with 2 additions and 2 deletions
19
ldap/templates/ldap.sysconfig.erb
Normal file
19
ldap/templates/ldap.sysconfig.erb
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Options of slapd (see man slapd)
|
||||
SLAPD_OPTIONS="-f /etc/openldap/slapd.conf<% if @ipv6enabled == 'false' %> -4<% end %>"
|
||||
|
||||
# At least one of SLAPD_LDAP, SLAPD_LDAPI and SLAPD_LDAPS must be set to 'yes'!
|
||||
#
|
||||
# Run slapd with -h "... ldap:/// ..."
|
||||
# yes/no, default: yes
|
||||
SLAPD_LDAP=yes
|
||||
|
||||
# Run slapd with -h "... ldapi:/// ..."
|
||||
# yes/no, default: yes
|
||||
SLAPD_LDAPI=yes
|
||||
|
||||
# Run slapd with -h "... ldaps:/// ..."
|
||||
# yes/no, default: no
|
||||
SLAPD_LDAPS=yes
|
||||
|
||||
# Kerberos keytab path
|
||||
KRB5_KTNAME="/etc/openldap/slapd.keytab"
|
Loading…
Add table
Add a link
Reference in a new issue