Affect IP with script perl into freeradius
Phibee Network Operation Center
noc at phibee.net
Tue Jan 27 12:55:48 CET 2009
tnt at kalik.net a écrit :
>> i use the perl example supplied with freeradius for authenticate my
>> user.
>>
>> modules {
>> perl {
>> module = "/etc/raddb/Test-Auth.pl"
>> func_accounting = accounting
>> func_authenticate = authenticate
>> func_authorize = authorize
>> func_preacct = preacct
>> func_checksimul = checksimul
>> func_xlat = xlat
>> }
>>
>>
>> If i want add a IP Address for one specific user, what is the process ?
>>
>> sample:
>> All user => Use Pool of the NAS
>> One specific user => use 192.168.50.1 (static IP)
>>
>>
>
> There is an example in example.pl for sending h323... attribute in the
> reply. You want to send Framed-IP-Address.
>
> Ivan Kalik
> Kalik Informatika ISP
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>
>
Hi,
thanks for your return. I have added:
$RAD_REPLY{'Framed-IP-Address'} = "10.218.6.1";
return RLM_MODULE_OK;
but no change, he use the pool included into the cisco ASA (10.218.4.5)
a error of me ?
bye
jerome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090127/226465cd/attachment.html>
More information about the Freeradius-Users
mailing list