summaryrefslogtreecommitdiffstats
path: root/src/responder/pac/pacsrv.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2012-12-18 14:09:05 +0100
committerJakub Hrozek <jhrozek@redhat.com>2013-01-08 15:05:48 +0100
commit01bfe20038d38bf48fe90df29861aa4f96a1bef4 (patch)
tree11268b9b6b6ca3127fa28eb839dc6df0c816fa17 /src/responder/pac/pacsrv.h
parent96cb33549313873eb60236400f203c8a01de4a92 (diff)
downloadsssd-01bfe20038d38bf48fe90df29861aa4f96a1bef4.tar.gz
sssd-01bfe20038d38bf48fe90df29861aa4f96a1bef4.tar.xz
sssd-01bfe20038d38bf48fe90df29861aa4f96a1bef4.zip
PAC responder: check if existing user differs
If some of the Posix attributes of an user existing in the cache differ from the data given in the current PAC the old user entry is drop and a new one is created with the data from the PAC.
Diffstat (limited to 'src/responder/pac/pacsrv.h')
-rw-r--r--src/responder/pac/pacsrv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/responder/pac/pacsrv.h b/src/responder/pac/pacsrv.h
index 71fcf8e41..0bf2a07f5 100644
--- a/src/responder/pac/pacsrv.h
+++ b/src/responder/pac/pacsrv.h
@@ -129,4 +129,6 @@ errno_t diff_gid_lists(TALLOC_CTX *mem_ctx,
struct sss_domain_info *find_domain_by_id(struct sss_domain_info *domains,
const char *id_str);
+
+bool new_and_cached_user_differs(struct passwd *pwd, struct ldb_message *msg);
#endif /* __PACSRV_H__ */