Amedzekor Kafui wrote: > What about if i don't want the reply attributes to > echoed to the screen but i want them sent to the NAS, > can I just put for example
Your script just has to output attributes to STDOUT, so that FreeRadius can read them in and then send them to the NAS. If you want to allow the user, then your program should exit with code 0. To reject the user, your program should exit with code >0 and <0 in case of an error. Example 1: reject the user with Reply-Message "Your account has expired": Script should output "Reply-Message := \"Your account has expired\",\n" and exit with code >0 Example 2: to accept the user with Session-Timeout set to 600 and Idle-Timeout set to 60: Script should output "Session-Timeout := 600,\nIdle-Timeout := 60,\n" and exit with code 0 -- Regards, Thor Spruyt E: [EMAIL PROTECTED] W: www.thor-spruyt.com M: +32 (0)475 67 22 65 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html