Update Reply returns noop
mcn4 at leicester.ac.uk
Mon Jul 25 16:31:15 CEST 2016
On Mon, Jul 25, 2016 at 02:19:25PM +0000, Anastasios Gryponisiotis wrote:
> I did not think I should dump my entire configuration and debug log for
> this very specific question. That was in consideration for all who would
> try to help, as I think this is a very specific question I am posing.
We ask for the whole debug output of radiusd -X because it helps
to answer people's questions. Not posting it (however long it may
be) makes it *much harder* to help.
Nobody asks for the entire configuration. 99% of the time,
everything that is needed is in the debug output.
> My problem is that the update is not affected unless i put a reject
> statement as well. What I am expecting is my update reply statement to
> update the reply and not return noop, since it would have operated upon the
Updating an attribute won't tell the server to accept or reject
the request. Your understanding is wrong, sorry.
If you want to reject, you have to tell it to reject, but updating
the Auth-Type attribute in the authorize section, like Alan said.
By the time you get to post-auth, you generally shouldn't be
accepting or rejecting the request. That section is just for
updating things like VLANs or other additional responses.
> Is this not a clear question? I do not want to frustrate anyone, but you
> are replying in a very specific way, which shows that you are more
> interested in being right than helping someone out.
No, it wasn't a clear question. You were asking for a specific
thing which unfortunately didn't make sense. Updating an attribute
(in post-auth or wherever) is noop. You shouldn't expect that to
return "reject". That's not how the server works.
> I respect your authority in all things FreeRADIUS but surely you
> cannot expect anyone to be on the same level as you in this
> mailing list, otherwise there would be no point in having a
> Users sub-forum.
Please tell us what you are trying to achieve. It will be much
easier to help with a solution.
Matthew Newton, Ph.D. <mcn4 at leicester.ac.uk>
Systems Specialist, Infrastructure Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom
For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>
More information about the Freeradius-Users