gali has asked for the wisdom of the Perl Monks concerning the following question:

Hello guys, I use freeradius v.1.0.0 I wrote a perl script that gets a radius packet. I'm wondering if i can to reject a user in my script.. I know that you can do it in users configuration but i don't want to. Because user there is an option to be correct and something else to be invalid. Can I to do this?There is a way to happend or no? Sorry if my english is bad.. Thanks a lot!

20040928 Edit by []: Changed title from 'Freeradius'

Replies are listed 'Best First'.
Re: How do I use Free Radius with Perl?
by tachyon (Chancellor) on Sep 28, 2004 at 00:01 UTC

    It would depend on where/how you are hooking into the server. I would suggest that the freeradius mailing list might yield you more joy. You will certainly need to supply more info as AFAIK there is not a published API that allows you supplemenatary checks.

    cheers

    tachyon

    20040928 Edit by []: Changed title from 'Re: Freeradius'