Hi,
I am trying to configure /etc/sysconfig/ldap with following:
SLAPD_LDAP=no SLAPD_URLS="ldap://${HOSTNAME} ldaps://${HOSTNAME} ldap://127.0.0.1" ---> This works and Slapd start ok.
But While using:
SLAPD_URLS="ldap://${HOSTNAME} ldaps://${HOSTNAME} ldap://localhost" ---> Does NOT work.
My /etc/hosts looks like this:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
following RPM installed: openldap-2.4.34-1.el6.x86_64 openldap-clients-2.4.34-1.el6.x86_64 openldap-servers-2.4.34-1.el6.x86_64
And one more issue:
How I could verify that ldap server start with proper olcServerID ? Is there any logging should be enabled and what values to look for ?
How I could present olcServerID along with ldap://${HOSTNAME} ldaps://${HOSTNAME} ldap://127.0.0.1 command ?
Regards,
openldap-technical@openldap.org