https://bugs.openldap.org/show_bug.cgi?id=10073
--- Comment #1 from Ondřej Kuzník <[email protected]> --- On Mon, Jun 26, 2023 at 07:34:34PM +0000, [email protected] wrote: > Today setup the cn=Monitor backend, and after doing so, openldap failed to > start with: > > backend_startup_one (type=monitor, suffix="cn=Monitor"): bi_db_open failed! > (-1) > > The reason turned out to be: we had configured one of our databases ("database > ldap") without a suffix. > > After I added a suffix, openldap started, and cn=Monitor worked as expected. > > It would be nice if this error message could become a little bit more > specific. > :-) > > Also: we've had the "database ldap" without a suffix in production working for > many years. Perhaps cn=Monitor should be able to deal with that config as > well..? Hi, can you share why you configure it without any suffix (compared to a suffix of "")? I'd be tempted to introduce the same check that other backends employ and make sure a suffix is configured on the DB. Pretty sure a lot of the code expects be_suffix to be non-NULL already and might crash otherwise. Regards, -- You are receiving this mail because: You are on the CC list for the issue.
