Kostas Zorbadelos <[EMAIL PROTECTED]> wrote:
>        Autz-Type CLID{
>                 callerid {
>                        fail=reject
>               }
>         }
> 
> In this case when the external script returns a non zero exit code or
> fails I get an Access-Reject. However I cannot put any attributes
> inside this reject packet. 

  So do the following:

   Autz-Type CLID {
        callerid {
                 ok = return
                 notfound = return
                 ... = return
                 fail = 1
        }
        another_files
   }


  Make the "another_files" module a copy of "rlm_files", and point it
to different "users" files.  It will then be run ONLY when the
external scrip returns "fail", and you can add replay attributes to
the reject packet there.

  Alan DeKok.



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to