[Devel] radiusclient-ng error codes
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Wed Mar 28 16:28:44 CEST 2007
Hi Juha,
have you checked the same of freeradius client library? You now have the
option to compile against it. The problem is there are no packages for
it for debian - you need to compile it :(...
regards,
bogdan
Juha Heinanen wrote:
> 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
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>
>
More information about the Devel
mailing list