(RADIATOR) group regex

Hugh Irvine hugh at open.com.au
Tue Jun 5 01:23:35 CDT 2001


Hello Nihal -

I would specify two AuthBy UNIX clauses, and use the  "Match" parameter in 
the second clause. I would then use Handlers to call one or the other, or I 
would use an AuthByPolicy to call one then the other.

See section 6.23.2 in the Radiator 2.18.1 reference manual.

hth

Hugh


On Tuesday 05 June 2001 16:17, Nihal wrote:

> > We currently using radiator to validate based on the users Unix group.
> and have several entries in the users file like this -
>
> DEFAULT Auth-Type = System, Group = shell
>         Service-Type = Login-User,
>         Login-IP-Host = 123.123.123.123,
>         Login-Service = Telnet
>
> DEFAULT Auth-Type = System, Group = aux-dial, Simultaneous-Use = 1
>         Service-Type = Framed-User,
>         Framed-Protocol = PPP,
>         Framed-IP-Netmask = 255.255.255.255,
>         Framed-Routing = None,
>         Framed-MTU = 1500,
>         Framed-Compression = Van-Jacobson-TCP-IP,
>
> what has come up is that there are groups named similarly that we want to
> react the same without having to put an entry for each in the users file.
>
> Instead of putting:
>
> DEFAULT Auth-Type = System, Group = shell
>         Service-Type = Login-User,
>         Login-IP-Host = 123.123.123.123,
>         Login-Service = Telnet
>
> DEFAULT Auth-Type = System, Group = shell-other
>         Service-Type = Login-User,
>         Login-IP-Host = 123.123.123.123,
>         Login-Service = Telnet
>
> would it be possible to do something like this?
>
> DEFAULT Auth-Type = System, Group = /^shell/
>         Service-Type = Login-User,
>         Login-IP-Host = 123.123.123.123,
>         Login-Service = Telnet
>
> so that it would match all groups that start with the word shell? Or
> whatever other standard perl regex we came up with?
>
> Thanks for the help,
> Nihal

----------------------------------------
Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1"
Content-Transfer-Encoding: quoted-printable
Content-Description: 
----------------------------------------

-- 
Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list