reference client stanzas in unlang?

Stefan Winter stefan.winter at restena.lu
Tue Feb 17 10:45:11 CET 2009


Hi,

is there a way to reference the name of the client stanza (or its
shortname) in unlang? I.e. if there is

client foo {
    ipaddr = 1.2.3.4
    shortname = foostuff
}

Then there's a request coming in from this client. In the client
processing, can there be sth like

if ( -- something that reveals "foo" or "foostuff" -- ) {
...
}

?

Using huntgroups and assigning Client-IP-Address into huntgroups is
procedurally not an option.

Greetings,

Stefan Winter

-- 
Stefan WINTER
Ingenieur de Recherche
Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et de la Recherche
6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg

Tel: +352 424409 1
Fax: +352 422473




More information about the Freeradius-Users mailing list