From 57a3f07fd9ff149156078caacb22aab9fd634f43 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Tue, 18 Dec 2012 14:09:05 +0100 Subject: 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. --- src/responder/pac/pacsrv.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/responder/pac/pacsrv.h') 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__ */ -- cgit