Re: How to change ++[files] returns noop into ++[files] returns?reject

2011-05-24 Thread Alexander Clouter
thomas.d...@24-7-it-services.de wrote: in the section authorize I include the module file. (/etc/raddb/users) At the moment I get an noop if a user is not found in the file. How can I change it to return a reject, if a user is not found? Now: ++[files] returns noop Destination:

AW: How to change ++[files] returns noop into ++[files]returns?reject

2011-05-24 Thread thomas.dohl
Hi Alexander, thanks for your answer. This works nearly perfect. My problem now is that: [files] users: Matched entry DEFAULT at line 11 ++[files] returns ok ... Using Post-Auth-Type Reject +- entering group REJECT {...} [attr_filter.access_reject] expand: %{User-Name} - u8867 attr_filter:

Re: AW: How to change ++[files] returns noop into ++[files]returns?reject

2011-05-24 Thread Alan DeKok
thomas.d...@24-7-it-services.de wrote: What I want to do is: 1. freeradius get an request 2. freeradius should look into his user file 2.1. if user found, next step 2.2. if user is not found, interrupt - reject $ man unlang This is documented. There are examples. files

AW: AW: How to change ++[files] returns noop into ++[files]returns?reject

2011-05-24 Thread thomas.dohl
-it-services.de@lists .freeradius.org [mailto:freeradius-users-bounces+thomas.dohl= 24-7-it-services...@lists.freeradius.org] Im Auftrag von Alan DeKok Gesendet: Dienstag, 24. Mai 2011 10:59 An: FreeRadius users mailing list Betreff: Re: AW: How to change ++[files] returns noop into ++[files