(RADIATOR) Patch: Monitor AuthBy PAM terminates radiusd

Mike McCauley mikem at open.com.au
Wed Sep 1 18:58:39 CDT 2004


Hello Carl,

thanks for reporting this problem.

We have fixed the instance of this problem in PAM as you suggest, and also the 
other modules that require it. The fixed versions are now in the Radiator 3.9 
patches area.

We apologise for any inconvenience.

Cheers.

On Thursday 02 September 2004 08:45, Carl Litt wrote:
> Hello,
>
> I would like to submit a patch for a fatal bug I found in Radiator 3.9.
>
> I was trying to use AuthBy PAM in the <Monitor> clause, but when I tried to
> log into the monitor interface radiusd died with:
>
> Can't call method "logPassword" on an undefined value at
> /usr/lib/perl5/site_perl/Radius/AuthPAM.pm line 152.
>
> The code at this location is trying to call the logPassword method on
> $p->{Handler}, however since this request came from the Monitor and not a
> Realm/Handler clause there is no ->{Handler}.
>
> There are several other AuthBy modules I can see which might fail in the
> same way when used in <Monitor>.  Specifically:
>
> AuthADSI.pm
> AuthIMAP.pm
> AuthNT.pm
> AuthOPIE.pm
> AuthOTP.pm
> AuthPOP3.pm
> AuthTACACSPLUS.pm
> AuthURL.pm
>
>
> A more appropriate fix would be to fake a ->{Handler} on authentication
> requests generated by <Monitor>.
>
> Carl Litt
> Network Administrator
> Execulink Internet

-- 
Mike McCauley                               mikem at open.com.au
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
9 Bulbul Place Currumbin Waters QLD 4223 Australia   http://www.open.com.au
Phone +61 7 5598-7474                       Fax   +61 7 5598-7070

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, 
TTLS, PEAP etc on Unix, Windows, MacOS etc.

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