Displaying 3 results from an estimated 3 matches for "userdb_prefetch_set".
2015 Aug 06
3
question on autch cache parameters
...8,30 +627,28 @@
auth_request_want_skip_passdb(request, next_passdb))
next_passdb = next_passdb->next;
+ if (*result == PASSDB_RESULT_OK) {
+ /* this passdb lookup succeeded, preserve its extra fields */
+ auth_fields_snapshot(request->extra_fields);
+ request->snapshot_have_userdb_prefetch_set =
+ request->userdb_prefetch_set;
+ if (request->userdb_reply != NULL)
+ auth_fields_snapshot(request->userdb_reply);
+ } else {
+ /* this passdb lookup failed, remove any extra fields it set */
+ auth_fields_rollback(request->extra_fields);
+ if (request->userdb_reply != NUL...
2015 Aug 27
0
question on autch cache parameters
...request_want_skip_passdb(request, next_passdb))
> next_passdb = next_passdb->next;
>
> + if (*result == PASSDB_RESULT_OK) {
> + /* this passdb lookup succeeded, preserve its extra fields */
> + auth_fields_snapshot(request->extra_fields);
> + request->snapshot_have_userdb_prefetch_set =
> + request->userdb_prefetch_set;
> + if (request->userdb_reply != NULL)
> + auth_fields_snapshot(request->userdb_reply);
> + } else {
> + /* this passdb lookup failed, remove any extra fields it set */
> + auth_fields_rollback(request->extra_fields);
> +...
2015 Aug 05
3
question on autch cache parameters
Hi list,
I have a question on auth caching in 2.2.18.
I am using acl_groups for a master user, appended in a static userdb file
# snip ###############################
master at uma:{SHA}XXXX=::::::userdb_acl_groups=umareadmaster
allow_nets=127.0.0.1
# snap ###############################
and use this group in a global ACL file.
I discovered this only works on first NOT-cached login