https://issues.apache.org/bugzilla/show_bug.cgi?id=44302
--- Comment #3 from Stephane Chazelas <[email protected]> --- I've checked the code of various versions of apache and apr-util including the latest ones (2.4.3 / 1.5.1). While the newer apr-util has a new apr_ldap_is_ldapi_url function, it is not used by mod_authnz_ldap. apr_ldap_url_parse_ext, which is called by mod_auth_ldap_parse_url, does extract the URL scheme (and explicitely cares for ldapi, though parses the socket path as a host:port and stores it in a field called lud_host), however mod_authnz_ldap doesn't make use of it. It just compares the start of the URL by itself with "ldaps" and assumes "ldap" if it doesn't match which explains why ldapi:// URLs are treated as ldap://localhost ones (default host is "localhost" for "ldap"). -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
