[prev in list] [next in list] [prev in thread] [next in thread]
List: freeradius-users
Subject: Allow update statement to fail
From: nabble () felix ! world
Date: 2023-07-26 13:51:19
Message-ID: DCF1F8A3-8B74-4FBF-8294-7888E0CBCE2D () felix ! world
[Download RAW message or body]
Hi there,
is there a way to allow the update statement to fail and just proceed?
For example if you want to update a attribute which is "just" for logging pruposes in \
the authorize section and the update statement failed it returnes 'failed' and stops \
processing other stuff and resulting in a failed authentication.
In the documentation there is the option to rewrite return codes for modules but it \
seems that the update statement is not really a module or do i missunderstood \
something here? And i can't find a way in the documentation how to do it.
As an example, is there a way to let the following authorize section be processed \
until the end even if the first update statement is not allowed? I know that it's not \
allowed to update the outer request in that context. Just for illustration
authorize {
update {
&outer.request:MyLogAttr := "It would nice to have it in the log but it's ok if \
not" }
eap
auth_log
}
Best regards,
lineconnect
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic