(RADIATOR) group regex

Anton Krall akrall at team.inter.net
Tue Jun 5 08:55:30 CDT 2001


I will assess the problem right away.

Tuesday, June 05, 2001, 1:17:52 AM, you wrote:

N> We currently using radiator to validate based on the users Unix group.
N> and have several entries in the users file like this -

N> DEFAULT Auth-Type = System, Group = shell
N>         Service-Type = Login-User,
N>         Login-IP-Host = 123.123.123.123,
N>         Login-Service = Telnet

N> DEFAULT Auth-Type = System, Group = aux-dial, Simultaneous-Use = 1
N>         Service-Type = Framed-User,
N>         Framed-Protocol = PPP,
N>         Framed-IP-Netmask = 255.255.255.255,
N>         Framed-Routing = None,
N>         Framed-MTU = 1500,
N>         Framed-Compression = Van-Jacobson-TCP-IP,

N> what has come up is that there are groups named similarly that we want to react the
N> same without having to put an entry for each in the users file.

N> Instead of putting:

N> DEFAULT Auth-Type = System, Group = shell
N>         Service-Type = Login-User,
N>         Login-IP-Host = 123.123.123.123,
N>         Login-Service = Telnet

N> DEFAULT Auth-Type = System, Group = shell-other
N>         Service-Type = Login-User,
N>         Login-IP-Host = 123.123.123.123,
N>         Login-Service = Telnet

N> would it be possible to do something like this?

N> DEFAULT Auth-Type = System, Group = /^shell/
N>         Service-Type = Login-User,
N>         Login-IP-Host = 123.123.123.123,
N>         Login-Service = Telnet

N> so that it would match all groups that start with the word shell? Or whatever other
N> standard perl regex we came up with?

N> Thanks for the help,
N> Nihal


===
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