help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnu-radius] Always authenticating users, but returning IP Addr


From: Sergey Poznyakoff
Subject: Re: [Help-gnu-radius] Always authenticating users, but returning IP Address for some
Date: Thu, 17 Mar 2005 00:18:48 +0200

Hi Ryan,

Ryan O'Connell <address@hidden> wrote:

> I'm trying to set up a RADIUS server to always authenticate users
> sucessfully, but return additional information (Static IP address)
> from an SQL database for those that get the correct username and

I'd suggest to use some extension mechanism to achieve this. For
example:

DEFAULT Auth-Type = Accept
          Service-Type = Framed-User,
                 Exec-Program-Wait = "/path/auth %C{User-Name} 
%C{User-Password}"

The program /path/auth is supposed to check the supplied user
credentials and supply any additional attributes if these are
correct. In the siplest case it can easily be written in shell.

Regards,
Sergey





reply via email to

[Prev in Thread] Current Thread [Next in Thread]