(RADIATOR) Small patch to allow username-patterns to select the Handler
Kurt Jaeger
lists at complx.lf.net
Fri Sep 5 06:19:00 CDT 2003
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
test-lfn#eg at ipx-dsl.de 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 pi at LF.net
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 radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.
===
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