From: Yann Ylavic Date: Mon, 20 Nov 2023 12:07:11 +0000 (+0000) Subject: mod_authnz_ldap: Follow up to r1913962: r->user not used in ldapsearch_check_authoriz... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc1adad3edf4c0ca5ffd9850ecf8cb5620998711;p=thirdparty%2Fapache%2Fhttpd.git 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 --- 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);