[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    Re: users file and SQL?
From:       Chris Brotsos <cbrotsos () starnetusa ! net>
Date:       2002-07-31 11:48:57
[Download RAW message or body]

Spike,

After processing the SQL table, attributes will be picked up from the 
DEFAULT profile in the users file. If you need a specific DEFAULT profile 
to be used then assign an attribute via SQL and use it as a check-item in 
the users file DEFAULT profile.

Chris


At 06:11 PM 7/30/2002 -0600, you wrote:

>Is there a way to read just a few Attribute/Value pairs from a SQL
>table, and get the rest of the information from the users file?
>
>Basically I just want to pull the IP address and netmask from an
>existing database and use the user file for the rest.  I can do this
>by calling a script with Exec-Program-Wait to generate the right
>Attribute/Value pairs.  It seems to me that doing the query within
>radiusd would be a little cleaner, but it also looks to me like SQL is
>an all or nothing deal.  Is that correct or am I missing something?
>
>->Spike
>
>-
>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic