[Devel] radiusclient-ng error codes

Juha Heinanen jh at tutpro.com
Wed Mar 28 16:09:20 CEST 2007


i checked return codes in radiusclient-ng and at least in the version i
had access (RELENG_0_5_1), it does a very bad job:

* Function: rc_check_reply
 *
 * Purpose: verify items in returned packet.
 *
 * Returns:	OK_RC       -- upon success,
 *		BADRESP_RC  -- if anything looks funny.

i.e., radiusclient-ng returns BADRESP_RC both when authentication failed
normally and when, for example, radius server response was somehow bogus.

as result, opener has no chance to know if some error occurred or if
username/password simply didn't match.

i think this needs to be fixed.  is someone still maintaining
radiusclient-ng or perhaps it is already fixed in a newer version?

-- juha



More information about the Devel mailing list