Full_Name: Joe Julian Version: 2.4.10 OS: Linux (Fedora 7 distribution) URL: Submission from: (NULL) (68.178.24.202)
Description of problem: slapd is called with "-h ldap://ldap1.domain.dom" where ldap1 is a CNAME for the actual server name "moe.domain.dom" and "-h ldap://ldap2.domain.dom" for "curly.domain.dom".
The cn=config entries for olcServerID are "1 ldap://ldap1.domain.dom" and "2 ldap://ldap2.domain.dom"
In config_generic (bconfig.c) case CFG_SERVERID lud->lud_host is compared with global_host. As the PTR record for moe is moe.domain.dom and not ldap1.domain.dom, moe does not get assigned a serverID. The same is true for curly.
Version-Release number of selected component (if applicable): openldap_2.4.8
Steps to Reproduce: 1. configure a server's dns entries for the actual name of the server 2. configure a cname that's different 3. call slapd with "-h": the url referring to the cname of the server
Actual results: no serverID defined
Expected results: the serverID should be selected (in part) based on the "-h" url configuration matching an olcServerID entry