URL:
https://github.com/SSSD/sssd/pull/886
Title: #886: sudo: get timezone information from previous value when constructing new usn
alexey-tikhonov commented:
"""
Patch LGTM.
Verified with local `openldap` server populated with one sudo rule:
(1) without patch:
```
# grep "Issuing a" sssd_test_openldap.log
Issuing a full refresh of sudo rules
Issuing a smart refresh of sudo rules (USN >= 20190924155528Z)
Issuing a smart refresh of sudo rules (USN >= 20190924155528)
Issuing a smart refresh of sudo rules (USN >= 20190924155528)
```
(I guess first smart refresh is correct because it follows full refresh that fetched a
rule)
(2) with patch:
```
# grep "Issuing a" sssd_test_openldap.log
Issuing a full refresh of sudo rules
Issuing a smart refresh of sudo rules (USN >= 20190924155528Z)
Issuing a smart refresh of sudo rules (USN >= 20190924155528Z)
Issuing a smart refresh of sudo rules (USN >= 20190924155528Z)
```
Coverity check is fine.
ACK.
"""
See the full comment at
https://github.com/SSSD/sssd/pull/886#issuecomment-534630754