Reply-Messages based on different conditions

Kwesi Yankson kkwised at yahoo.com
Wed Jul 22 22:15:22 CEST 2015


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?


More information about the Freeradius-Users mailing list