Hello -
On Wed, 10 May 2000, [EMAIL PROTECTED] wrote:
> I made a small modification to util.pm so I can have the decrypted password
> in Radiator.
> In this example '%P' would be the decrypted password and can be used the
> same way as '%n' (the Username)
> I think this is very useful for everyone. In my case, this allows me to
> send the username and the password as:
> AuthSelect exec MyStoredProc '%n' '%P'
>
> May I suggest we include the following in util.pm
>
> 'P', sub { return unless $packet;
> $packet->decode_password($packet->{Client}->{Secret}) },
>
> Also replace:
> $s =~ s/%([%abcCdefgDhijkHlLmMNopnRStTUuyY])/&{$conversions{$1}}()/egs;
> with:
> $s =~ s/%([%abcCdefgDhijkHlLmMNopPnRStTUuyY])/&{$conversions{$1}}()/egs;
>
Thanks for the suggestion. I have forwarded it to Mike for consideration.
The PreAuthHook I sent to you earlier today does essentially the same thing,
although your version is certainly easier to use.
regards
Hugh
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.
===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.