Evaluation of Service-Type.
Nicolas Breuer
Nicolas.Breuer at belcenter.biz
Fri May 3 18:20:37 CEST 2019
Hi,
Sorry i don't see :
(0) post-auth {
(0) if (&reply:Service-Type == test) {
(0) ERROR: Failed retrieving values required to evaluate condition
(0) if (reply:Service-Type == "NOSERVICE") {
(0) ERROR: Failed retrieving values required to evaluate condition
(0) elsif (&reply:Service-Type != default && &reply:Service-Type =~ /Framed(.*)/ ) {
(0) ERROR: Failed retrieving values required to evaluate condition
(0) else {
(0) update reply {
(0) Service-Type := Framed-User
(0) } # update reply = noop
(0) } # else = noop
(0) } # if ( (User-Name =~ /^(.*)@YYYY$/) ) = noop
(0) update reply {
(0) Service-Type := Framed-User
(0) } # update reply = noop
(0) if (reply:Framed-IP-Address) {
(0) if (reply:Framed-IP-Address) -> TRUE
(0) if (reply:Framed-IP-Address) {
(0) update reply {
(0) Session-Timeout = 1728000
(0) } # update reply = noop
(0) } # if (reply:Framed-IP-Address) = noop
(0) ... skipping else: Preceding "if" was taken
(0) } # post-auth = noop
(0) Sent Access-Accept Id 19 from 111.112.180.1:1812 to 111.112.180.70:49264 length 0
(0) Framed-IP-Address = 111.112.179.2
(0) Service-Type := Framed-User
(0) Session-Timeout = 1728000
-----Message d'origine-----
De : Freeradius-Users <freeradius-users-bounces+nicolas.breuer=belcenter.biz at lists.freeradius.org> De la part de Alan DeKok
Envoyé : vendredi 3 mai 2019 17:31
À : FreeRadius users mailing list <freeradius-users at lists.freeradius.org>
Objet : Re: Evaluation of Service-Type.
On May 3, 2019, at 11:16 AM, Nicolas Breuer <Nicolas.Breuer at belcenter.biz> wrote:
> Any ideas what is wrong here ?
>
> (0) if (&reply:Service-Type == test) {
> (0) ERROR: Failed retrieving values required to evaluate condition
Read the REST of the debug output. It's printed out for a reason.
Hint: Which attributes are in the packet?
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list