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

Bjørn Mork bjorn at mork.no
Sun Aug 29 18:13:21 CEST 2010


Alexander Kubatkin <kaa at 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 DHCP-Server-IP:67 to Relay-ip:67
>         DHCP-Subnet-Mask = MASK
>         DHCP-Router-Address = gateway_ip
>         DHCP-Domain-Name-Server = NS1_ip
>         DHCP-Domain-Name = "Domain1 Domain2"
>         DHCP-Broadcast-Address = BROADCAST
>         DHCP-NTP-Servers = NTP_Server_ip
>         DHCP-IP-Address-Lease-Time = 180
>         DHCP-DHCP-Server-Identifier = DHCP-Server-ip
> Finished request 3.

And this does not.  

So you got a problem with the DHCP code, and not with rlm_perl.  I'm
afraid I don't know enough about that to help you, but I'm sure someone
else can not that we know this hasn't anything to do with rlm_perl



Bjørn




More information about the Freeradius-Users mailing list