checkrad && naspasswd
Alan DeKok
aland at deployingradius.com
Sat Aug 18 16:35:40 CEST 2007
I've nuked naspasswd from CVS head. It's been marked deprecated for a
while, and it's time to get rid of it.
I also don't like checkrad.pl... it's awkward, and complicated. My
$0.02 for a different way is to split "checkrad" into nas-specific
scripts. They can use Perl's "require" statement to include common
libraries. e.g.
/usr/share/freeradius/nas/common.pl
/usr/share/freeradius/nas/<nastype>
The idea is that "nastype" field in clients.conf maps *directly* to an
executable file. The "login" and "password" fields in clients.conf are
then used by the server core, and fed to the per-nas script via stdin.
This is a bit of a change from what's there now, but more integrated,
and better laid out.
*Or* use the Perl module, as suggested by Kostas in:
http://lists.freeradius.org/pipermail/freeradius-devel/2005-April/008293.html
Either way, I think splitting "checkrad" into multiple files is still
a good idea.
Alan DeKok.
More information about the Freeradius-Devel
mailing list