ENV variables in external scripts
    rsg 
    ranil.santhish at gmail.com
       
    Fri Mar  7 17:47:05 CET 2008
    
    
  
On Fri, Mar 7, 2008 at 5:22 PM, Alan DeKok <aland at deployingradius.com> wrote:
>
>   Read the Perl documentation.
Thanks for the advice.
> print STDERR "\t: $Check\n";
>
>   Don't do this.  Executed programs should print to STDOUT.  They should
>  NOT print to STDERR.
>
Would like to know why? Thanks in advance for the explanation.
Radius Debug Log when printed to STDERR:
Fri Mar  7 17:35:48 2008 : Debug:   rad_check_password:  Found Auth-Type None
Fri Mar  7 17:35:48 2008 : Debug:   rad_check_password: Auth-Type =
Accept, accepting the user
Fri Mar  7 17:35:48 2008 : Debug: radius_xlat:  '4444444444'
        : "4444444444"
        : y
Fri Mar  7 17:35:49 2008 : Debug: Exec-Program output:
Fri Mar  7 17:35:49 2008 : Debug: Exec-Program: returned: 0
Radius Deboug log when printed to STDOUT:
Fri Mar  7 17:42:10 2008 : Debug:   rad_check_password: Auth-Type =
Accept, accepting the user
Fri Mar  7 17:42:10 2008 : Debug: radius_xlat:  '4444444444'
Fri Mar  7 17:42:10 2008 : Debug: Exec-Program output: ?: "4444444444" ?: y
Fri Mar  7 17:42:10 2008 : Debug: Exec-Program-Wait: plaintext: ?:
"4444444444" ?: y
Fri Mar  7 17:42:10 2008 : Debug: Exec-Program: returned: 0
    
    
More information about the Freeradius-Users
mailing list