On Aug 15, 2004, at 15:43, Alan DeKok wrote:
Doug Hardie <[EMAIL PROTECTED]> wrote:I still need some help. I have searched through the archives, google, documentation and source code. I need the program I am calling to be able to return pairs to to the NAS with the authentication request is granted and I need to have it not authenticate in some cases. In the EXEC-PROGRAM-WAIT a non-zero return will cause it not to return a successful authentication.
Which is what it's designed to do.
Then how do you replace a depreciated EXEC-PROGRAM-WAIT call with something that calls an external program that can return pairs or cause authentication failure with the regulare authentication failure logging messages?
All I get is a note in radius.log that the extermal script failed. The normal user logging does not take place.
What "normal user logging"?
There is no logging of the user id /password for the failed authentication attempt, only a logged message that the exec module failed.
The rlm_exec module only seems to treat the return code in that way.
What way?
Generate a exec module failed message.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

