Hi,
Thanks Quanah. Just to follow-up:
Yes, with an ldap listener on 0.0.0.0, openldap is *still* able to determine it's own serverID when multiple are configured, based on the above-mentioned code.
In my config I do:
(nota bene FQDN)
and the local hostname is obviously NOT a FQDN but just a (short) hostname.
But it is still matched correctly, which is phenomenal, and not something I could read / understand from the docs! :-)
I also tested, by changing the config to a non-existing "serverID 2
ldaps://
my.ldapserver5.com", and then we do get the "read_config: no serverID / URL match found. Check slapd -h arguments."
Impressed by openldap's cleverness. :-)
Regards!