OpenLdap 2.4 on centos 6 doesn't listen on port 636

Posted by Oliver Henriot on Server Fault See other posts from Server Fault or by Oliver Henriot
Published on 2013-06-22T18:32:57Z Indexed on 2013/06/26 16:23 UTC
Read the original article Hit count: 233

Filed under:
|
|

I have an openldap 2.4 server on centos 6 whose confg I copied from those I have running under openldap 2.3 servers on centos 5 machines.

On openldap 2.3, specifying TLSCACertificateFile, TLSCertificateFile and TLSCertificateKeyFile with correct values makes the server listen on port 636. This is not the case on the openldap 2.4 setup.

I have configured it with loglevel -1 but I have not seen any clue as to what might be wrong and reading the openldap 2.4 manual doesn't indicate if any of the other TLS related parameters are now mandatory. I don't think so though because if I run the service manually, using "# /usr/sbin/slapd -u ldap -h "ldap:/// ldaps:/// ldapi:///"", the server does listen on port 636 and I can query it using "ldapsearch -H ldaps://myserver:636".

Is there something I am missing to get the server to listen on port 636 without having to always launch it manually? Is this linked to centos 6 or openldap 2.4?

Thank you.

Cheers,

© Server Fault or respective owner

Related posts about centos6

Related posts about openldap