Accounting copying to specific systems

Joe Maimon jmaimon at ttec.com
Fri Sep 25 00:05:19 CEST 2009



Alan DeKok wrote:
> Joe Maimon wrote:
>> Here is what I am doing with rlm_policy
>>
>>
>>         if (request:Class =* "" ) {
> 
>   And what does that mean?  I haven't looked at the policy code in years...

And it still works nicely.

If Class exists in the request.


> 
>   See "man unlang" the "CONDITIONS" section for how conditions work.  If
> you're just looking to see if Class exists, do:
> 
> 	if (Class) {
> 
>   It's that easy.

And it works. Thanks.

> 
>>                        if (request:Client-Short-Name == "noc03rt07") {
>>                                update request {
> 
>   You had "control" above.  Why "request" here?

Troubleshooting permutations.

> 
>> These are all the patches I am currently carrying.
> 
>   OK... my $0.02 is put them in github.  Fork the "stable" branch, apply
> your patches, and send me a link to the github repository.  That makes
> it easier for me to see && apply the patches.
> 
>   Alan DeKok.

Soon as I figure it out.





More information about the Freeradius-Users mailing list