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 14:42:57 +0100
commit57a3f07fd9ff149156078caacb22aab9fd634f43 (patch)
tree59fc39bacff10a1f3297e08cdc1064d7fa7cc0fb /src/responder/pac/pacsrv.h
parent34f64327316a7dafbac593bd9e507aa628a3339b (diff)
downloadsssd-57a3f07fd9ff149156078caacb22aab9fd634f43.tar.gz
sssd-57a3f07fd9ff149156078caacb22aab9fd634f43.tar.xz
sssd-57a3f07fd9ff149156078caacb22aab9fd634f43.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__ */