(RADIATOR) Authentication result codes list?

Hugh Irvine hugh at open.com.au
Tue Aug 19 22:58:07 CDT 2003


Hello John -

You will find everything you need in the source code.

Here are the return values that are defined in "Radius/AuthGeneric.pm":

# Return codes for handle_request
$main::ACCEPT = 0;      # Issue an accept for us
$main::REJECT = 1;      # Issue a reject for us
$main::IGNORE = 2;      # Dont reply at all
$main::CHALLENGE = 3;   # Issue a challenge
$main::REJECT_IMMEDIATE = 4;   # Reject, and dont fall through

To understand more about the LDAP return codes you should check the 
source code for the Perl LDAP module that you are using - and of course 
don't forget to look at the code in "Radius/AuthLDAP2.pm".

There are also a number of example hooks in the file 
"goodies/hooks.txt".

regards

Hugh


ps - "may the source be with you..."


On Wednesday, Aug 20, 2003, at 05:28 Australia/Melbourne, John McFadden 
wrote:

> I fairly green to Radius and Radiator so please excuse my ignorance.
>
> I'm writing a post auth hook and want to make sure I cover all the 
> various conditions.
>
> ie:
> I'll want to check and act on the result an AuthBy LDAP2.
>
> I understand it can be ACCEPT or REJECT but I'm wondering if I need to 
> handle other results such as IGNORE?
>
> If so where do I get the full list of possible results?
>
> Any pointers are appreciated?
>
> Thanks in advance
> John McFadden
>
>
>
> ===
> 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.
>
>

NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.

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