Actually, this was forwarded by me from Gustavo. Now I will also answer it!
On Jul 7, 1:42pm, Mike McCauley wrote:
> Subject: (RADIATOR) filters
>
> Hi, everybody, i got one big problem, i would like you to help me to solve
> it.
> The problem:
> I have three NASs , an ascend 4060 with firmware v 7.0.4, a baynetworks
> rac 8000, and shiva lanrover xp16. and i need to create a filter that
> works like this:
>
> When I add an user to a UNIX group, that user will be able to see an
> especific subnet and everybody else cannot, but that UNIX group can't be
> their primary group.
> the problem is how can I use radiator to especify a filter for each NAS,
> and how can I write that filter (I don't have documentation for that).
I cant help you with writing filters, and in any case it will be diferetn for
each NAS, but you could choose between reply items depending on Unix group and
NAS IP address liek this in your users file:
DEFAULT NAS-IP-Address=1.2.3.4,Auth-Type=System,Group=group1
reply-item,
reply-item
DEFAULT NAS-IP-Address=1.2.3.5,Auth-Type=System,Group=group1
reply-item,
reply-item
DEFAULT NAS-IP-Address=1.2.3.4,Auth-Type=System,Group=group1
reply-item,
reply-item
DEFAULT NAS-IP-Address=1.2.3.5,Auth-Type=System,Group=group2
reply-item,
reply-item
Obviously the NAS-IP-Address could be a regexp, if you wanted to match multiple
NASs at the same time.
Hope that helps.
Cheers.
>
> TIA
>
> Suerte!
>
> "Que esta es una mala epoca? Pues bien, estamos aqui para hacerla mejor!"
> Thomas Carlyle
>
> o o o o o o o . . . ____________________________ _________=======_T___
> o _____ ||Gustavo A. Barreto | | [EMAIL PROTECTED]
|
> .][__n_n_|DD[ ====|____ |Administrador de Red | | UIN: 776336
|
> >(_UV_____|__|_[___/_____]_|Colnet International LTDA_|_|_Tel.
3150334/5/6___|_
> _/oo OOOOOO o` ooo ooo 'o^o^o o^o^o` 'o^o
o^o`
> -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
> PGP Public Key: E-mail me with subject "pgp-key"
> "Cocaine is nature's way of telling you you have too much money."
> "Penguin is the key"
>
>
>
>
> ---End of forwarded mail from [EMAIL PROTECTED]
>
> --
> Mike McCauley [EMAIL PROTECTED]
> Open System Consultants Pty. Ltd Unix, Perl, Motif, C++, WWW
> 24 Bateman St Hampton, VIC 3188 Australia http://www.open.com.au
> Phone +61 3 9598-0985 Fax +61 3 9598-0955
>
> Radiator: the most portable, flexible and configurable RADIUS server
> anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
> Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8,
> NT, Rhapsody
> ===
> Archive at http://www.thesite.com.au/~radiator/
> To unsubscribe, email '[EMAIL PROTECTED]' with
> 'unsubscribe radiator' in the body of the message.
>-- End of excerpt from Mike McCauley
--
Mike McCauley [EMAIL PROTECTED]
Open System Consultants Pty. Ltd Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia http://www.open.com.au
Phone +61 3 9598-0985 Fax +61 3 9598-0955
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8,
NT, Rhapsody
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.