apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60972] apr_ldap_url.c:apr_ldap_url_parse_ext() 1.6.x captures port in hostname parsing LDAP URL
Date Wed, 12 Apr 2017 01:48:53 GMT

Peter Payne <apr20170412@was.me.uk> changed:

           What    |Removed                     |Added
                 OS|                            |All

--- Comment #1 from Peter Payne <apr20170412@was.me.uk> ---
This affects mod_authnz_ldap.c which calls apr_ldap_url_parse().

Bug was found because of trace message in this module:

  auth_ldap url parse: `%s', Host: %s, Port: %d, DN: %s, attrib: %s, scope: %s,
filter: %s, connection mode: %s

.. which illustrated that the LDAP URL was capturing the port number into the

For example, the following configuration will fail:


.. with a log message:

  Host: myserver.com:339, Port: 339, DN: DC=myserver,DC=com, attrib:
accountname, scope: subtree, filter:...

Whereas the following configuration will succeed:


You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org

View raw message