]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove check for Proxy-To-Realm
authorAlan T. DeKok <aland@freeradius.org>
Thu, 29 Jun 2017 17:09:00 +0000 (13:09 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 29 Jun 2017 17:43:30 +0000 (13:43 -0400)
it should now be Auth-Type := proxy...

src/modules/rlm_pap/rlm_pap.c

index 9af14f3ffdc0d8d5b8706916e6fb939ec40e0473..26b37746017cb9ce3c0b60a29d9ef8295228975a 100644 (file)
@@ -427,19 +427,6 @@ static rlm_rcode_t CC_HINT(nonnull) mod_authorize(void *instance, UNUSED void *t
                        found_pw = true;
                        break;
 
-                       /*
-                        *      If it's proxied somewhere, don't complain
-                        *      about not having passwords or Auth-Type.
-                        */
-               case FR_PROXY_TO_REALM:
-               {
-                       REALM *realm = realm_find(vp->vp_strvalue);
-                       if (realm && realm->auth_pool) {
-                               return RLM_MODULE_NOOP;
-                       }
-                       break;
-               }
-
                case FR_AUTH_TYPE:
                        auth_type = true;