URL:
https://github.com/SSSD/sssd/pull/347
Title: #347: Fixes related to negative cache and "root" user/group
fidencio commented:
"""
I've updated the patch set adding 3 tests:
- **TEST_NEGCACHE: Test that "root" is always added to ncache**:
- This patch basically tests "NEGCACHE: Always add "root" to the negative
cache". In order to test the patch do:
- Run make check and verify it passes;
- Revert "NEGCACHE: Always add "root" to the negative cache";
- Run make check and verify it fails;
- **TEST_NEGCACHE: Ensure that "0" is always added to ncache**:
- This patch basically tests "NEGCACHE: Add "0" to the negative
cache". In order to test the patch do:
- Run make check and verify it passes;
- Revert "NEGCACHE: Add "0" to the negative cache";
- Run make check and verify it fails;
- **TEST_NEGCACHE: Ensure root's uid and gid are always added to ncache**:
- This patch basically tests "NEGCACHE: Add root's uid/gid to ncache". In
order to test the patch do:
- Run make check and verify it passes;
- Revert "NEGCACHE: Add root's uid/gid to ncache";
- Run make check and verify it fails;
"""
See the full comment at
https://github.com/SSSD/sssd/pull/347#issuecomment-322714081