How to set User access for certain clients
Arran Cudbard-Bell
a.cudbardb at freeradius.org
Wed Jan 29 10:50:56 CET 2014
On 29 Jan 2014, at 04:56, dilanka nayanajith <dillnayana at gmail.com> wrote:
> Hi every one i am facing some problems,
>
> i configured radius server
> i configured a client
> and finally i have configured a user as well
>
> how do i block or deny access for users to log certain clients
>
> as and example --
>
> User1 can log to the SWA but he should not be able to log to SWB
>
> please help me on this , i read so many articuls but cant fiend a way to do it
authorize {
if ((User-Name == 'User1') && ("%{client:shortname}" == 'SWA')) {
update control {
Auth-Type := 'Accept'
}
}
}
>
>
>
> --
> dilanka nayanajith
> Thank you
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team
FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140129/9510f1e5/attachment-0001.pgp>
More information about the Freeradius-Users
mailing list