"Enterprise.net" <[EMAIL PROTECTED]> wrote:
> I would like to add a third parameter to check on authentication.
> So when a user logs in radius takes the username and password checks them.
> if correct radius checks one further item "Caller-Id".
Where would you like to add this third parameter? In the 'users' file?
> The check only has to be a simple test to see if caller id is there. If it's
> not present deny the login. Else accept connection as normal.
You can use the poorly documented (and ugly):
user No-Such-Attribute == "Calling-Station-Id", Auth-Type := Reject
Reply-Message += "Sorry, you need to supply a caller ID"
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html