help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnu-radius] huntgroups & hints


From: Sergey Poznyakoff
Subject: Re: [Help-gnu-radius] huntgroups & hints
Date: Thu, 30 Jan 2003 16:29:10 +0200

> raddb/huntgroups:
> VERSCITY        NAS-IP-Address = 10.2.2.10 NULL
> 
> raddb/hints:
> DEFAULT    NULL Huntgroup-Name = VERSCITY,
>         Acct-Ext-Program = "/usr/local/bin/radcard/acct"

No, currently this won't work. The problem is that while matching
hints entries only those attributes are taken into account which
reflect some user name information (i.e. Prefix, Suffix, UID and
Group).

As a workaround, invoke your "acct" program unconditionally and pass
the value of NAS-IP-Address attribute to it, e.g.:

# raddb/hints:
DEFAULT    NULL 
           Acct-Ext-Program = "/usr/local/bin/radcard/acct %C{NAS-IP-Address}"

and make the program decide what to do based on the value of its first
argument.

Regards,
Sergey





reply via email to

[Prev in Thread] Current Thread [Next in Thread]