Skip to content

Commit

Permalink
Restore log message tag 02636, assign unique tags.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1913975 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
minfrin committed Nov 20, 2023
1 parent 0a37209 commit 8f7a7ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/aaa/mod_authnz_ldap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1430,7 +1430,7 @@ static authz_status ldapsearch_check_authorization(request_rec *r,
}

if (!sec->host) {
ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, APLOGNO(01738)
ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, APLOGNO(10486)
"auth_ldap authorize: no sec->host - weird...?");
return AUTHZ_DENIED;
}
Expand All @@ -1442,7 +1442,7 @@ static authz_status ldapsearch_check_authorization(request_rec *r,
*/

if (!*r->user) {
ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, APLOGNO(01739)
ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, APLOGNO(10487)
"ldap authorize: Userid is blank, AuthType=%s",
r->ap_auth_type);
}
Expand All @@ -1460,7 +1460,7 @@ static authz_status ldapsearch_check_authorization(request_rec *r,
}

if (req->dn == NULL || !*req->dn) {
ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(01742)
ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(02636)
"auth_ldap authorize: require ldap-filter: user's DN "
"has not been defined; failing authorization");
return AUTHZ_DENIED;
Expand Down

0 comments on commit 8f7a7ec

Please sign in to comment.