In answer:-
I would like it to apply to every user. So im guessing I would place
something under :-
DEFAULT Auth-Type := local
Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-Routing = None,
Ascend-Assign-IP-Pool = 1,
X-Ascend-Idle-Limit = 1800,
***SOMETHING HERE =Calling-Station-Id = "X" then reject***********
Fall-Through = 1
Regards,
Gareth
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: 10 January 2002 15:36
To: [EMAIL PROTECTED]
Subject: Re: (no subject)
"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
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html