From 1e9930690691360d8963eecea4918b36b6d51013 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Thu, 1 Aug 2013 12:40:24 +0200 Subject: PAC: if user entry already exists keep it Currently the PAC responder deletes a user entry and recreates it if some attributes seems to be different. Two of the attributes where the home directory and the shell of the user. Those two attributes are not available from the PAC but where generates by the PAC responder. The corresponding ID provider might have better means to determine those attributes, e.g. read them from LDAP, so we shouldn't change them here. The third attribute is the user name. Since the PAC responder does lookups only based on the UID we can wait until the ID provider updates the entry. Fixes https://fedorahosted.org/sssd/ticket/1996 --- src/responder/pac/pacsrv.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/responder/pac/pacsrv.h') diff --git a/src/responder/pac/pacsrv.h b/src/responder/pac/pacsrv.h index 6477e4499..126ec7de1 100644 --- a/src/responder/pac/pacsrv.h +++ b/src/responder/pac/pacsrv.h @@ -81,6 +81,4 @@ errno_t get_pwd_from_pac(TALLOC_CTX *mem_ctx, struct PAC_LOGON_INFO *logon_info, struct passwd **_pwd, struct sysdb_attrs **_attrs); - -bool new_and_cached_user_differs(struct passwd *pwd, struct ldb_message *msg); #endif /* __PACSRV_H__ */ -- cgit