diff options
Diffstat (limited to 'src/providers/simple/simple_access.h')
-rw-r--r-- | src/providers/simple/simple_access.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/providers/simple/simple_access.h b/src/providers/simple/simple_access.h index 2ddf27692..15dfaceb2 100644 --- a/src/providers/simple/simple_access.h +++ b/src/providers/simple/simple_access.h @@ -26,6 +26,7 @@ struct simple_ctx { struct sss_domain_info *domain; + struct be_ctx *be_ctx; char **allow_users; char **deny_users; @@ -33,6 +34,12 @@ struct simple_ctx { char **deny_groups; }; -errno_t simple_access_check(struct simple_ctx *ctx, const char *username, - bool *access_granted); +struct tevent_req *simple_access_check_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + struct simple_ctx *ctx, + const char *username); + +errno_t simple_access_check_recv(struct tevent_req *req, + bool *access_granted); + #endif /* __SIMPLE_ACCESS_H__ */ |