https://bz.apache.org/bugzilla/show_bug.cgi?id=66421

            Bug ID: 66421
           Summary: Setting LDAPConnectionPoolTTL to -1 (default value)
                    prevents apache to start
           Product: Apache httpd-2
           Version: 2.4.54
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: mod_ldap
          Assignee: bugs@httpd.apache.org
          Reporter: bzapa...@nailyk.fr
  Target Milestone: ---

With the following configuration, Apache 2.4.54 (self built with OpenSSL 1.1.1s
does not start : 

----
LoadModule ldap_module mod_ldap.so
LoadModule authz_ldap_module mod_authnz_ldap.so

LDAPConnectionPoolTTL -1
----

and gives the error : "LDAPConnectionPoolTTL has wrong format"


>From the documentation
https://httpd.apache.org/docs/2.4/mod/mod_ldap.html#ldapconnectionpoolttl : 
The default value of -1, and any other negative value, allows connections of
any age to be reused.

Looking at the code, the function ap_timeout_parameter_parse cannot return a
negative value
(https://github.com/apache/httpd/blob/trunk/modules/ldap/util_ldap.c#L2825 &
https://github.com/apache/httpd/blob/2.4.54/server/util.c#L2656)

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

Reply via email to