Red Hat Bugzilla – Bug 481003
Wrong init script : slapd always starts with option "ldap:///"
Last modified: 2012-10-15 04:51:03 EDT
Description of problem:
slapd always starts with option ldap:/// when we use the init script.
Version-Release number of selected component (if applicable):
Configure openldap with TLS and launch it with the init script
Steps to Reproduce:
1. activate TLS in /etc/openldap/slapd.conf
2. service ldap start
3. check with "ps -ef |grep ldap" or "netstat -puante |grep slapd"
slapd still listen on port 389 because it's launched with the following command :
/usr/sbin/slapd -h ldap:/// ldaps:/// -u ldap
It would only listen 636 and use "/usr/sbin/slapd -h ldaps:/// -u ldap"
Better, we should have the choice to use :
- ldap & ldaps
The file /etc/rc.d/init.d/ldap define a variable row 146 :
The problem seems to be in the concatenation row 148 :
Patch is in CVS, changing status to MODIFIED.
Successfully verified on i386 and x86_64.
RHTS test created.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.