diff options
author | Sumit Bose <sbose@redhat.com> | 2013-08-01 12:40:24 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-08-26 11:44:42 +0200 |
commit | 1e9930690691360d8963eecea4918b36b6d51013 (patch) | |
tree | 8a36695aca78ac55d8c587fb6c7ef57e3be6e7ab /src/responder/pac/pacsrv.h | |
parent | f88f09876e2018bd08e19d84ad1ab66f72cac8fd (diff) | |
download | sssd-1e9930690691360d8963eecea4918b36b6d51013.tar.gz sssd-1e9930690691360d8963eecea4918b36b6d51013.tar.bz2 sssd-1e9930690691360d8963eecea4918b36b6d51013.zip |
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
Diffstat (limited to 'src/responder/pac/pacsrv.h')
-rw-r--r-- | src/responder/pac/pacsrv.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/responder/pac/pacsrv.h b/src/responder/pac/pacsrv.h index 6477e449..126ec7de 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__ */ |