Reverting Accept-Reject to Access-Accept

Arran Cudbard-Bell a.cudbardb at freeradius.org
Thu Sep 29 17:14:44 CEST 2011


On 29 Sep 2011, at 17:02, Alan DeKok wrote:

> denizaydin wrote:
>> If I use the Cleartext-Password, the configuration in the Autz-Type section
>> is not working.
>> 
>> So I tried to put this config on Post-Auth-Type REJECT section but it's not
>> working. It's seems that it is not possible to revert Access-Reject to
>> Access-Accept in the post-auth section.
> 
>  It is not possible.

As Alan says it's not possible in Post-Auth, but you can do it earlier in authenticate.

authenticate {
	Auth-Type PAP {
		pap {
			reject = 1
		}
		if(reject){
			update reply {
				Cisco-Account-Info := "AUNAUTH_PPP_SERVICE"
			}
			ok 
		}
	}
}

-Arran

Arran Cudbard-Bell
a.cudbardb at freeradius.org

Betelwiki, Betelwiki, Betelwiki.... http://wiki.freeradius.org/ !





More information about the Freeradius-Users mailing list