summaryrefslogtreecommitdiffstats
path: root/src/providers/simple/simple_access.h
diff options
context:
space:
mode:
authorPavel Reichl <pavel.reichl@redhat.com>2014-01-08 16:03:08 +0000
committerJakub Hrozek <jhrozek@redhat.com>2014-01-15 17:23:17 +0100
commita620742bffad5ef92597b6a25401f6d5c217afa9 (patch)
tree45c96184d5e76ac203f447aa5a916140bddd2e47 /src/providers/simple/simple_access.h
parenteb2ec2c35742caf164b49b660b5045d08cac7623 (diff)
downloadsssd-a620742bffad5ef92597b6a25401f6d5c217afa9.tar.gz
sssd-a620742bffad5ef92597b6a25401f6d5c217afa9.tar.xz
sssd-a620742bffad5ef92597b6a25401f6d5c217afa9.zip
simple access: refresh master domain info
To correctly decide if an object is a member of the main sssd domain, a flat name is needed. However, the information may not be available when the module is inited so it may be necessary to refresh this data later while processing a request. Resolves: https://fedorahosted.org/sssd/ticket/2189
Diffstat (limited to 'src/providers/simple/simple_access.h')
-rw-r--r--src/providers/simple/simple_access.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/providers/simple/simple_access.h b/src/providers/simple/simple_access.h
index 15dfaceb2..a618b2e2e 100644
--- a/src/providers/simple/simple_access.h
+++ b/src/providers/simple/simple_access.h
@@ -32,6 +32,8 @@ struct simple_ctx {
char **deny_users;
char **allow_groups;
char **deny_groups;
+
+ time_t last_refresh_of_filter_lists;
};
struct tevent_req *simple_access_check_send(TALLOC_CTX *mem_ctx,