]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mod_authnz_ldap: Follow up to r1913962: r->user not used in ldapsearch_check_authoriz...
authorYann Ylavic <ylavic@apache.org>
Mon, 20 Nov 2023 12:07:11 +0000 (12:07 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 20 Nov 2023 12:07:11 +0000 (12:07 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1913977 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/mod_authnz_ldap.c

index 1215fe2e38d6b1c2c04c50cc05da382f8a5a0df0..0f84e009df49579578e7a67e45639a370a7760d7 100644 (file)
@@ -1441,12 +1441,6 @@ static authz_status ldapsearch_check_authorization(request_rec *r,
      * and populated with the userid and DN of the account in LDAP
      */
 
-    if (!*r->user) {
-        ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, APLOGNO(10487)
-            "ldap authorize: Userid is blank, AuthType=%s",
-            r->ap_auth_type);
-    }
-
     if (!req) {
         authz_status rv = AUTHZ_DENIED;
         req = build_request_config(r);