Sudo integration in SSSD does not work with sudo rules targetted at local users, these should be handled in local sudoers file.
sudoers
We should thus remove the respective set to keep the test suite clean:
====================================================================== FAIL: ipatests.test_integration.test_sudo.TestSudo.test_sudo_rule_restricted_to_one_local_user ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/usr/lib/python2.7/site-packages/ipatests/test_integration/test_sudo.py", line 210, in test_sudo_rule_restricted_to_one_local_user assert "(ALL : ALL) NOPASSWD: ALL" in result1.stdout_text AssertionError
Sudo plugin was enhanced in 4.0, the test should be thus fixed there too.
master:
ipa-4-1:
ipa-4-0:
Metadata Update from @mkosek: - Issue assigned to pviktori - Issue set to the milestone: FreeIPA 4.0.4
Login to comment on this ticket.