URL:
https://github.com/SSSD/sssd/pull/806
Author: pbrezina
Title: #806: sudo: always use server highest usn for smart refresh
Action: opened
PR body:
"""
The sudo attributes may not be indexed on the server, therefore if
smart refresh filter is run on the server it may first search using
the indexed entryusn attribute and run the rest of the filter on
non-sudo objects. The number of objects that are filtered may increased
dramatically if sudo rules are not changed for a long time (and thus
keeping smaller and smaller last sudo usn number).
This patch makes sure that highest sudo usn number is always set to
the highest server usn number after each refresh.
Resolves:
https://pagure.io/SSSD/sssd/issue/3997
"""
To pull the PR as Git branch:
git remote add ghsssd
https://github.com/SSSD/sssd
git fetch ghsssd pull/806/head:pr806
git checkout pr806