URL: https://github.com/SSSD/sssd/pull/458 Author: sumit-bose Title: #458: overrides: fixes for sysdb_invalidate_overrides() Action: opened
PR body: """ There were two issues in sysdb_invalidate_overrides().
First, SYSDB_CACHE_EXPIRE was only reset for the entry in the data cache but not in the timestamp cache.
Second, if one of the steps in the combined replace and delete operation failed no change was committed to the cache. If, for whatever reasons, a user or group object didn't had SYSDB_OVERRIDE_DN set the delete failed and hence SYSDB_CACHE_EXPIRE wasn't reset as well. To make sure the cache is in a consistent state after a view change the replace and the delete operations are don in two steps.
Related to https://pagure.io/SSSD/sssd/issue/3579 """
To pull the PR as Git branch: git remote add ghsssd https://github.com/SSSD/sssd git fetch ghsssd pull/458/head:pr458 git checkout pr458