Hi!
Here's a small snippet of code that allows a Handler to be
selected by a pattern in the username.
This is necessary if the realm is not the only criteria
of "where to proxy the auth request" (because a realm is always
seperated by "@", and german telekom dsl platforms give us usernames like
[EMAIL PROTECTED] 8-}
Radius/AuthGeneric.pm
992a993,997
> elsif ($check_name eq 'Username')
> {
> return ($main::REJECT, "Username does not match")
> unless match($self, $username, $check_name, $value);
> }
I'm not sure whether this fits in, but if it ends up in radiator-3.7,
that would be nice.
--
MfG/Best regards, Kurt Jaeger 17 years to go !
LF.net GmbH fon +49 711 90074-23 [EMAIL PROTECTED]
Ruppmannstr. 27 fax +49 711 90074-33
D-70565 Stuttgart mob +49 171 3101372
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.