From dc1adad3edf4c0ca5ffd9850ecf8cb5620998711 Mon Sep 17 00:00:00 2001 From: Yann Ylavic Date: Mon, 20 Nov 2023 12:07:11 +0000 Subject: [PATCH] mod_authnz_ldap: Follow up to r1913962: r->user not used in ldapsearch_check_authorization(). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1913977 13f79535-47bb-0310-9956-ffa450edef68 --- modules/aaa/mod_authnz_ldap.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/aaa/mod_authnz_ldap.c b/modules/aaa/mod_authnz_ldap.c index 1215fe2e38d..0f84e009df4 100644 --- a/modules/aaa/mod_authnz_ldap.c +++ b/modules/aaa/mod_authnz_ldap.c @@ -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); -- 2.47.3