On 2023-08-19 4:28 PM, Souji Thenria wrote:
On 8/18/23 23:20, Nels Lindquist wrote:
As far as I know, none of the RHEL family include OpenLDAP server packages for any release higher than 7 (though the clients are still provided).
You likely don't have slapd installed at all, and therefore no configuration file for it.
If you want an OpenLDAP server, you'll likely need to look at either of LTB or Symas builds.
It's true that Red Hat no longer supports OpenLDAP, in favour of their own 389DS. However, Rocky Linux does provide an OpenLDAP package in the "plus" repo for RL9 or the "powertools" repo for RL8.
Ah, yes--there it is in powertools. Thanks for that; I hadn't noticed it there before. (Though there are other reasons--such as wanting a newer version--to use one of the alternative server packages instead).
Just to satisfy my own curiosity, I installed the server package from powertools. The slapd.service systemd file included in the package includes:
ExecStart=/usr/sbin/slapd -u ldap -h "ldap:/// ldaps:/// ldapi:///"
As long as the configuration, certificate etc. are valid it'll listen for SSL connections by default.