Package openldap-config is added to config customized config file
of openldap.
Here is the customized change in slapd.service:
"
-After=syslog.target network-online.target
+Before=rsyncd.service
+After=network.target syslog-ng.target
-PIDFile=/var/run/openldap/slapd.pid
+PIDFile=/var/run/slapd.pid
-ExecStart=/usr/sbin/slapd -u ldap -h ${SLAPD_URLS} $SLAPD_OPTIONS
+ExecStart=/etc/init.d/openldap start
+ExecStop=/etc/init.d/openldap stop
+ExecReload=/etc/init.d/openldap restart
+RemainAfterExit=yes
"
Here is the customized change in slapd.sysconfig:
"
-#SLAPD_OPTIONS=""
+SLAPD_OPTIONS=""
"
Test:
Pass build and multi node deploy test. Confirmed related config
file is the same as before in deploy node.
Story: 2003768
Task: 26462
Depends-On: https://review.openstack.org/618440
Change-Id: I2559a8e43619449d6179ed913181052d653fa91d
Signed-off-by: slin14 <shuicheng.lin@intel.com>
16 lines
526 B
Plaintext
16 lines
526 B
Plaintext
# 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:///"
|
|
|
|
# Any custom options
|
|
SLAPD_OPTIONS=""
|
|
|
|
# Keytab location for GSSAPI Kerberos authentication
|
|
#KRB5_KTNAME="FILE:/etc/openldap/ldap.keytab"
|