===Copying from downstream BZ#1290853, apologies if this has been reported again upstream===
Description of problem:
In an IPA to AD trust environment, the AD trusted users stay in SSSD cache for much longer than expected. Actually, they stay in cache for a fixed amount of 10 hours while the IPA users for 5400 seconds (by default). The cache expiration options do not affect the trusted users as well.
In fact, we can see:
static errno_t ipa_s2n_save_objects(struct sss_domain_info dom, struct req_input req_input, struct resp_attrs attrs, struct resp_attrs simple_attrs, const char view_name, struct sysdb_attrs override_attrs, bool update_initgr_timeout) { int ret; time_t now; uint64_t timeout = 106060; / FIXME: find a better timeout ! /
That I believe is causing this issue.
oops, I didn't realize you filed this and I cloned the downstream BZ into ticket #2899 as well. Since #2899 is tracked by our internal cloning tool, I will close this one.
resolution: => duplicate status: new => closed
Metadata Update from @gagrio: - Issue set to the milestone: NEEDS_TRIAGE
SSSD is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in SSSD's github repository.
This issue has been cloned to Github and is available here: - https://github.com/SSSD/sssd/issues/3939
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.