I have started the slapd with the following command in both cases. As you may notice, have not provided explicit option of “-F’” or “-f”. Perhaps, a compile time configuration influencing the noticed behavior?

/opt/openldap/lib/slapd -u service -h "ldap://0.0.0.0:10389 ldaps://0.0.0.0:10636"

Will try with “-F” option.


Thanks.


On Apr 15, 2021, at 8:43 AM, Quanah Gibson-Mount <quanah@symas.com> wrote:



--On Wednesday, April 14, 2021 9:46 PM -0700 Rallavagu Kon <rallavagu@gmail.com> wrote:

Hello All,

Noticing a difference in behavior of locating config file at the time of
startup between 2.4.48 and 2.4.58.


6077b37d could not stat config file "/etc/ldap/slapd.d/slapd.conf": No
such file or directory (2)

I clearly notice that existing configuration file(s) are not considered
with 2.4.58. Wondering what is the difference and how can I use the
existing configuration files.

You failed to provide the -F option.  It also looks like you provided an invalid -f option (which shouldn't be used at all if using cn=config).

--Quanah


--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>