#4608 Tests: test_sudo_rule_restricted_to_one_local_user fails
Closed: Fixed None Opened 9 years ago by mkosek.

Sudo integration in SSSD does not work with sudo rules targetted at local users, these should be handled in local sudoers file.

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:

  • 0cdaf2c sudo integration test: Remove the local user test

ipa-4-1:

  • e6edbe4 sudo integration test: Remove the local user test

ipa-4-0:

  • 98e0a4e sudo integration test: Remove the local user test

Metadata Update from @mkosek:
- Issue assigned to pviktori
- Issue set to the milestone: FreeIPA 4.0.4

7 years ago

Login to comment on this ticket.

Metadata