Accept user if his account expired

mohamad buvaydanı starking123eng at gmail.com
Wed Feb 13 16:02:16 CET 2019


hello
I am using freeradius v3 .
I want when expired user trying to access his account the freeradius will
send accept packet with new ip pool for example 'expired '
I am using this code in authorize section

expiration{
userlock = 1
}
if(userlock){
# Let him connect with EXPIRED pool in reply
ok
update reply {
Reply-Message := "Your account has expired, %{User-Name} / Reason: DATE
LIMIT REACHED / "
Framed-Pool := "expired"
}
}



but user still get reject , without get new ip pool

I tried to insert that same code in to Post-Auth-Type REJECT  section
the users rejected but get new ip pool
where is my error
thank you


More information about the Freeradius-Users mailing list