#9063 Changing default pac type to 'nfs:NONE and MS-PAC' doesnot display error 'ipa: ERROR: no modifications to be performed'
Closed: fixed by frenaud. Opened by frenaud.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 8): Bug 2031825

Description of problem: Changing default pac type to 'nfs:NONE and MS-PAC' doesnot display warning 'ipa: ERROR: no modifications to be performed'
Version-Release number of selected component (if applicable):
ipa-server-4.9.8-1.module+el8.6.0+13485+f71eb528.x86_64
How reproducible: Always
Steps to Reproduce:
1. ipa config-show
2. ipa config-mod --pac-type=nfs:NONE --pac-type=MS-PAC
Actual results:
[root@server ~]# ipa config-mod --pac-type=nfs:NONE --pac-type=MS-PAC
  Default PAC types: MS-PAC, nfs:NONE
[root@server ~]# echo $?
0
Expected results:
"ipa: ERROR: no modifications to be performed"
Additional info:

Metadata Update from @frenaud:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=2031825

Issue linked to bug 2031825

Metadata Update from @frenaud:
- Issue assigned to frenaud

Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/6126

master:

  • 327e0232038d6ffaedcc72408cdbd8dd541a1f66 Config plugin: return EmptyModlist when no change is applied
  • 325415bb66542455212b0613a79f3cc1c19c42a8 config plugin: add a test ensuring EmptyModlist is returned

ipa-4-9:

  • b9c42fed9b6f60801f908c368d0d97a2a69f7bb2 Config plugin: return EmptyModlist when no change is applied
  • cd735099e86304294217147ed578ac902fcf3dd3 config plugin: add a test ensuring EmptyModlist is returned

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata