On Thu, 15 Aug 2002, Paul Khavkine wrote:
> Hi folks.
>
> Has anyone try fetching reply attributes from a DB using Exec-Wait ?
> For example i need to fetch IP addresses for ADSL clients from a DB when
> they connect
> so it can either be static or dynamic (if they are allready connected
> with ADSL and also connect with dialup) and other attributes.
> Would that be a good way to do it ?
>
> Thanx
> Paul
You could just use the latest CVS snapshots with sql_xlat. Something like this
in the users file:
DEFAULT Service-Type == Framed-User, NAS-IP-Address == 123.123.123.123
Framed-IP-Address = "%{sql: SELECT FramedIPAddress FROM radcheck WHERE
UserName = '%u'}"
You get the picture.
--
Kostas Kalevras Network Operations Center
[EMAIL PROTECTED] National Technical University of Athens, Greece
Work Phone: +30 10 7721861
'Go back to the shadow' Gandalf
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html