Hi,

>  Hi Stepan 10x  for your prompt respond
>  I Used radrelay and it works  fine

You're welcome :-)

>  the point is that I would like to do it without additional proccess
> Like u said with the hint file
>
>  where can I get this patch for the hint file  ?

http://bugs.freeradius.org/show_bug.cgi?id=335

> And how do I tell him not to look for User-Name

hints usually has lines

user    Attrib1 == bar
        Attrib2 := foo

Meaning, if a request from 'user' has Attrib1 == bar, then add Attrib2 with 
content "foo". Pretty much liek the "users" file.

And so, analogous to the "users" file, a line like

DEFAULT
        User-Name = "my-dummy-user-name"

means: for every user ("DEFAULT") with no further conditions (rest of the line 
is empty) add a User-Name attribute if none is present (note the = instead of 
the := ; a := *replaces* User-Name even if it's there already, and you don't 
want that). In your case you may want to add your realm as attribute value, 
so that the packet later gets caught by the realm processing.

Greetings,

Stefan

-- 
Stefan WINTER

Stiftung RESTENA - Réseau Téléinformatique de l'Education Nationale et de 
la Recherche
Ingenieur Forschung & Entwicklung

6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg
E-Mail: [EMAIL PROTECTED]     Tel.:     +352 424409-1
http://www.restena.lu                Fax:      +352 422473

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

Reply via email to