On Tue, Jul 08, 2003 at 04:26:01PM +0200, Thomas Krause (Webmatic) wrote:
> 
> Hello,
> I want to send our DNS servers to all users. My
> entries looks so:
> 
> mysql> select * from radcheck where username="DEFAULT";
> +-----+----------+--------------+----+-------------+
> | id  | UserName | Attribute    | op | Value       |
> +-----+----------+--------------+----+-------------+
> | 102 | DEFAULT  | Service-Type | == | Framed-User |
> +-----+----------+--------------+----+-------------+
> 1 row in set (0.00 sec)
> 
> mysql> select * from radreply where username="DEFAULT";
> +----+----------+-----------------------------+----+-------------+
> | id | UserName | Attribute                   | op | Value       |
> +----+----------+-----------------------------+----+-------------+
> | 80 | DEFAULT  | Ascend-Client-Primary-DNS   | =  | 192.168.1.1 |
> | 81 | DEFAULT  | Ascend-Client-Secondary-DNS | =  | 192.168.1.2 |
> +----+----------+-----------------------------+----+-------------+
> 2 rows in set (0.00 sec)
> 
> But when testing with radtest, no DNS server will be send.
> Where is the error?

DEFAULT entries are only allowed in the users file if I remember
correctly. How would you enter multiple fallback default entries into
the database?

What else can one do? I use groups to archive semiliar results.

For example all my ADSL customers are in the adsl sql group which
lists the DNS Servers, the Service-Type and the Framed-Service. Short:
all attributes which go to a large group of users are in an sql user
group.

Oliver.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to