On 24 Aug 2011, at 20:42, [email protected] wrote:

> Hello everybody I have a doubt and I'm not finding answers on the Internet.
> 
> I have a freeradius server operating normally, it is a proxy for
> several Realms, with each Realm leads the user to a different
> authentication database, so far okay.
> 
> What I need now is to get users coming to the radius without realm,
> and add a default realm. I need to do this early on in the
> authentication processing, so that the other conditions that rely on
> authentication of the existence of a realm can function correctly.
> 

If you mean just adding a string onto the username then yes...

if(User-Name !~ /username with realm... etc.../){
        update request {
                User-Name := "%{User-Name}@realm"
        }
}

Arran Cudbard-Bell
[email protected]

RADIUS - Half the complexity of Diameter

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

Reply via email to