Displaying 4 results from an estimated 4 matches for "auth_policy_check_".
Did you mean:
auth_policy_check
2019 Aug 07
2
auth-policy crashing
...efore and after auth
command=allow request are the same I cache the first, leading to a fast
second response. Removing the cache (nginx proxy_cache ...) must change
the timings and circumvented the crash. Why use both check before and
after auth? roundcube webmail reports an error with only
auth_policy_check_before_auth. I cannot see why. The simple and lazy
solution is to use double auth_policy_check_!
Thank you Aki for looking at this and finding a solution so quickly.
2019 Aug 07
0
auth-policy crashing
...> command=allow request are the same I cache the first, leading to a
> fast second response.? Removing the cache (nginx proxy_cache ...) must
> change the timings and circumvented the crash.? Why use both check
> before and after auth?? roundcube webmail reports an error with only
> auth_policy_check_before_auth.? I cannot see why.? The simple and lazy
> solution is to use double auth_policy_check_!
>
> Thank you Aki for looking at this and finding a solution so quickly.
The double-check is for places which want to implement something like
COS or want to perform validations in policy...
2019 Aug 07
1
auth-policy crashing
On 07/08/2019 11:02, Aki Tuomi via dovecot wrote:
>> before and after auth? roundcube webmail reports an error with only
>> auth_policy_check_before_auth. I cannot see why. The simple and lazy
>> solution is to use double auth_policy_check_!
...
> The double-check is for places which want to implement something like
> COS or want to perform validations in policy server *after* we know the
> user identity. The first check...
2019 Aug 02
3
auth-policy crashing
...t->result is not null before the call (no 222) to
i_stream_unref but is after.
dovecot.conf has:
auth_policy_server_url = http://policyserver.lan/
auth_policy_server_timeout_msecs = 3000
auth_policy_hash_nonce = Ohr9phaeSeip2Pahaez2raiGohxoo5Ia
auth_policy_request_attributes = remote=%{rip}
auth_policy_check_before_auth = yes
auth_policy_check_after_auth = yes
auth_policy_report_after_auth = yes
To simplify the problem I used a dummy policy server, in nginx.conf:
location / {
default_type application/json;
return 200 "{\"status\":0,\"msg\":\"accep...