]> granicus.if.org Git - apache/commitdiff
Fix 'Anonymous *', which denied access
authorAndré Malo <nd@apache.org>
Mon, 14 Feb 2005 17:55:54 +0000 (17:55 +0000)
committerAndré Malo <nd@apache.org>
Mon, 14 Feb 2005 17:55:54 +0000 (17:55 +0000)
* modules/aaa/mod_authn_anon.c (check_anonymous):
    don't return AUTH_USER_NOT_FOUND if conf->anyuserid is configured.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153815 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/mod_authn_anon.c

index 6353b3eb442658aa5c1c8bdc18cf82cba54e4739..b0e48fbbdd4bed8228e04354560c15334cc5e3ad 100644 (file)
@@ -140,7 +140,7 @@ static authn_status check_anonymous(request_rec *r, const char *user,
     authn_status res = AUTH_USER_NOT_FOUND;
 
     /* Ignore if we are not configured */
-    if (!conf->users) {
+    if (!conf->users && !conf->anyuserid) {
         return AUTH_USER_NOT_FOUND;
     }