httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1551611 - in /httpd/httpd/trunk: docs/log-message-tags/next-number modules/aaa/mod_authnz_ldap.c
Date Tue, 17 Dec 2013 16:38:37 GMT
Author: covener
Date: Tue Dec 17 16:38:36 2013
New Revision: 1551611

URL: http://svn.apache.org/r1551611
Log:
Log a warning when the LDAP authn provider is configured but an AuthLDAPURL 
isn't -- IOW, avoid silently skipping a misconfigured [or buggy?] LDAP provider.


Modified:
    httpd/httpd/trunk/docs/log-message-tags/next-number
    httpd/httpd/trunk/modules/aaa/mod_authnz_ldap.c

Modified: httpd/httpd/trunk/docs/log-message-tags/next-number
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/log-message-tags/next-number?rev=1551611&r1=1551610&r2=1551611&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/log-message-tags/next-number (original)
+++ httpd/httpd/trunk/docs/log-message-tags/next-number Tue Dec 17 16:38:36 2013
@@ -1 +1 @@
-2557
+2559

Modified: httpd/httpd/trunk/modules/aaa/mod_authnz_ldap.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/aaa/mod_authnz_ldap.c?rev=1551611&r1=1551610&r2=1551611&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/aaa/mod_authnz_ldap.c (original)
+++ httpd/httpd/trunk/modules/aaa/mod_authnz_ldap.c Tue Dec 17 16:38:36 2013
@@ -490,6 +490,9 @@ static authn_status authn_ldap_check_pas
      * Basic sanity checks before any LDAP operations even happen.
      */
     if (!sec->have_ldap_url) {
+        ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, APLOGNO(02558) 
+                      "no AuthLDAPURL");
+
         return AUTH_GENERAL_ERROR;
     }
 



Mime
View raw message