I posted this all before, I just trimmed the debug file down to where the error 
was...


The attrib rewrite section ...


        attr_rewrite AttrRewrite_MonthlyBlendedUnshaped {
                attribute = Configuration-Token
                searchin = reply
                searchfor = "LOCAL_LIMITED"
                replacewith = "UNSHAPED_NORMAL"
                ignore_case = yes
                new_attribute = yes
                max_matches = 1
                append = no
        }

attr_rewrite AttrRewrite_MonthlyBlendedShaped {
                attribute = Configuration-Token
                searchin = reply
                searchfor = "UNSHAPED_NORMAL"
                replacewith = "SHAPED_NORMAL"
                ignore_case = yes
               new_attribute = no
                max_matches = 1
                append = no
          }
        attr_rewrite AttrRewrite_MonthlyLocal {
                attribute = Configuration-Token
                searchin = reply
                searchfor = "SHAPED_NORMAL"
                replacewith = "LOCAL_NORMAL"
                ignore_case = yes
                new_attribute = no
                max_matches = 1
                append = no
          }

        attr_rewrite AttrRewrite_Limited {
                attribute = Configuration-Token
                searchin = reply
                searchfor = "LOCAL_NORMAL"
                replacewith = "LOCAL_LIMITED"
                ignore_case = yes
                new_attribute = no
                max_matches = 1
                append = no
          }             



The authorize section

authorize {
        auth_log
#       digest
        hxdsl
        sql
        group {

                AttrRewrite_MonthlyBlendedUnshaped 
                MonthlyUnShaped {
                        reject = 1      
                        ok = return 
                }
                
                AttrRewrite_MonthlyBlendedShaped 
                MonthlyShaped {
                        reject = 1 
                        ok = return  
                
                }               
                
                AttrRewrite_MonthlyLocal
                MonthlyLocal {
                        reject = 1      
                        ok = return  
                }
                AttrRewrite_Limited 
        }
        
        pap
}




-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Friday, February 08, 2008 4:39 PM
To: FreeRadius users mailing list
Subject: Re: Newslists

Hi,

> But when it checks for the attribute in the reply packet, it says it can't 
> find it, but it still does the attrib-rewrite changes the values and then 
> moans it couldn’t find the value pair. This is obviously not normal in my 
> opinion, and thus I asked about a specific problem. I only attached the debug 
> portion as it is specific to the problem.

post the relevant part of your config file?  We arent seeing
the whole picture. when you take a car to the garage, the mechanic
hears your story AND sees the car.

alan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to