Reply-Messages based on different conditions

Song Zou a13519 at
Mon Nov 19 13:36:09 CET 2018

please don’t send email

On Jul 23, 2015, at 04:15, Kwesi Yankson via Freeradius-Users <freeradius-users at> wrote:

> Hello,I'm using freeRADIUS 3.0.9I use the sql module to do AAAI currently want to use unlang to do the following.Assuming there a user called "bob" who has the password "pass"I want unlung to compare the username and password in such a way thatif username is "bob" and password is not "pass" a Reply-Message such as 
> "Incorrect password for user "bob" " will be sent.  This scenario is for only if the username bob exists.If username "bob" does not exist the a Reply-Message = "User "bob" not found"
> Can someone help me with the unlang which will do this?
> -
> List info/subscribe/unsubscribe? See

More information about the Freeradius-Users mailing list