Username Rewrites based on Hint / Realm

Javier Fox jfox at corp.spiritone.com
Thu Oct 16 19:18:09 CEST 2008


My sincerest thanks to everyone for their assistance on this.  The hints 
file solution appears to have done the trick.  Just a few more tweaks 
and I can finally call this project complete.

Thanks again,
J Fox



> tnt at kalik.net wrote:
>> It's hints file for you then:
>>
>> http://wiki.freeradius.org/Adding%2C_Removing%2C_Modifying_Attributes_for_further_processing 
>>
>>
>> You should be able to modify second example for your needs.
>>
>> Ivan Kalik
>> Kalik Informatika ISP
>>
>>
>> Dana 15/10/2008, "Javier Fox" <jfox at corp.spiritone.com> piše:
>>
>>> Ah, that might be the problem then.  The Boss wants to stick with the
>>> official Debian packages, which for Etch are stuck back at 1.1.3.
>>>
>>> If there's any way for this to work with the currently installed
>>> version, I'd prefer to take that path, but if not, I'll look into 
>>> upgrading.
>>>
>>> Thanks again,
>>> J. Fox
>>>
>>>
>>> Stephen Bowman wrote:
>>>>
>>>> 2008/10/15 Javier Fox <jfox at corp.spiritone.com
>>>> <mailto:jfox at corp.spiritone.com>>
>>>>
>>>>     I've tried every permutation of the 'if' line I can think of -
>>>>     quotes, no quotes, single-equal, double-equal, equal-tilde - but
>>>>     FreeRadius still doesn't like that 'if' line, and errors out with
>>>>     "Line is not in 'attribute = value' format" on startup.
>>>>
>>>>     Again, I apologize if I'm missing something blatantly obvious here,
>>>>     but I seem to be following the exact same format as every 
>>>> example on
>>>>     the Internet; it just doesn't like it.  Do I need to add some
>>>>     special config line so it knows to watch for (and interpret) the
>>>>     unlang statements?  I had initially tried using a switch{} block 
>>>> and
>>>>     it complained that it didn't know what 'switch' meant.
>>>>
>>>>
>>>>     Thanks,
>>>>     J. Fox
>>>>
>>>>
>>>>     tnt at kalik.net <mailto:tnt at kalik.net> wrote:
>>>>
>>>>         if(whatever) {
>>>>             update request {
>>>>                   User-Name := ...
>>>>
>>>>         Ivan Kalik
>>>>         Kalik Informatika ISP
>>>>
>>>>
>>>> Umm, oops, forgot to ask and just noticed you didn't say in your 
>>>> initial
>>>> message.  What version of FR are you using (radiusd -v)?
>>>>
>>>> If you aren't in 2.x, get there.  Preferably 2.1.1. <http://2.1.1.>
>>>>
>>>>
>>>> ------------------------------------------------------------------------ 
>>>>
>>>>
>>>> -
>>>> List info/subscribe/unsubscribe? See 
>>>> http://www.freeradius.org/list/users.html
>>> -
>>> List info/subscribe/unsubscribe? See 
>>> http://www.freeradius.org/list/users.html
>>>
>>>
>>
>> -
>> List info/subscribe/unsubscribe? See 
>> http://www.freeradius.org/list/users.html
> -
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html



More information about the Freeradius-Users mailing list