Re: rlm_perl multiple attributes in rad_reply was: Adding Multiple Cisco-AVPairs using rlm_perl

2010-08-29 Thread Bjørn Mork
Alexander Kubatkin k...@kaa.su writes: this is with $RAD_REPLY{'DHCP-Domain-Name-Server'} = [$ns1,$ns2] ; [..] rlm_perl: Added pair DHCP-Domain-Name-Server = NS1_ip rlm_perl: Added pair DHCP-Domain-Name-Server = NS2_ip So, this works as expected. Sending DHCP-Ack of id ef3e6917 from

Re: rlm_perl multiple attributes in rad_reply was: Adding Multiple Cisco-AVPairs using rlm_perl

2010-08-28 Thread Alexander Kubatkin
В сообщении от Четверг 26 августа 2010 11:17:45 автор Bjørn Mork написал: Boian Jordanov bjorda...@orbitel.bg writes: On Aug 22, 2010, at 3:06 PM, Alexander Kubatkin wrote: В сообщении от Воскресенье 22 августа 2010 10:48:56 автор Alan DeKok написал: Alexander Kubatkin wrote: This

Re: rlm_perl multiple attributes in rad_reply was: Adding Multiple Cisco-AVPairs using rlm_perl

2010-08-26 Thread Bjørn Mork
Boian Jordanov bjorda...@orbitel.bg writes: On Aug 22, 2010, at 3:06 PM, Alexander Kubatkin wrote: В сообщении от Воскресенье 22 августа 2010 10:48:56 автор Alan DeKok написал: Alexander Kubatkin wrote: This isn't working, i'm trying to put 2 dns-servers in dhcp configuration like this:

Re: rlm_perl multiple attributes in rad_reply was: Adding Multiple Cisco-AVPairs using rlm_perl

2010-08-25 Thread Boian Jordanov
On Aug 22, 2010, at 3:06 PM, Alexander Kubatkin wrote: В сообщении от Воскресенье 22 августа 2010 10:48:56 автор Alan DeKok написал: Alexander Kubatkin wrote: This isn't working, i'm trying to put 2 dns-servers in dhcp configuration like this: $RAD_REPLY{'DHCP-Domain-Name-Server'} =

Re: rlm_perl multiple attributes in rad_reply was: Adding Multiple Cisco-AVPairs using rlm_perl

2010-08-22 Thread Alan DeKok
Alexander Kubatkin wrote: This isn't working, i'm trying to put 2 dns-servers in dhcp configuration like this: $RAD_REPLY{'DHCP-Domain-Name-Server'} = [$ns1,$ns2] ; and in resolv.conf i see: nameserver IP1 IP2 The RADIUS server doesn't edit /etc/resolv.conf. The above line shows

Re: rlm_perl multiple attributes in rad_reply was: Adding Multiple Cisco-AVPairs using rlm_perl

2010-08-22 Thread Alexander Kubatkin
В сообщении от Воскресенье 22 августа 2010 10:48:56 автор Alan DeKok написал: Alexander Kubatkin wrote: This isn't working, i'm trying to put 2 dns-servers in dhcp configuration like this: $RAD_REPLY{'DHCP-Domain-Name-Server'} = [$ns1,$ns2] ; and in resolv.conf i see: nameserver IP1

rlm_perl multiple attributes in rad_reply was: Adding Multiple Cisco-AVPairs using rlm_perl

2010-08-21 Thread Alexander Kubatkin
В сообщении от Среда 20 января 2010 02:29:54 автор Bjørn Mork написал: James Nedila j...@colonynetworks.com writes: I have a rlm_perl script where i'd like to return multiple Cisco-AVPair attributes in an Access-Accept response. Since rlm_perl is passed hashes for RAD_REQUEST, RAD_CHECK,