Re: Always authenticating users, but returning IP Address for some
Sergey Poznyakoff <[email protected]>
| Newsgroups | gmane.comp.gnu.radius.general |
|---|---|
| Organization | Farlep-Internet |
| Message-ID | <[email protected]> |
Hi Ryan, Ryan O'Connell <[email protected]> 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