Code

Fix check_radius returning OK on unexpected results
authorThomas Guyot-Sionnest <dermoth@aei.ca>
Wed, 14 Apr 2010 07:38:52 +0000 (03:38 -0400)
committerThomas Guyot-Sionnest <dermoth@aei.ca>
Wed, 14 Apr 2010 07:38:52 +0000 (03:38 -0400)
commita179737771ece982e1840d480b10cb6ed1792619
tree62240812a399c61fe301240ac5ca165abc2bf393
parente7cefa7be491050b6dc895f6cfab82c5ead340a7
Fix check_radius returning OK on unexpected results

REJECT_RC is defined on some radiusclient versions and differenciates
between auth errors and bad responses. This patch will affect only the
behaviour of those clients exporting REJECT_RC.

In addition, unexpected return codes are now handled properly and
return UNKNOWN.
NEWS
THANKS.in
plugins/check_radius.c