#4915 Default trust view can be deleted and modified in lower case
Closed: Fixed None Opened 9 years ago by pvoborni.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1194633

Description of problem:
Default trust view can be deleted in lower case

Version-Release number of selected component (if applicable):
ipa-server-4.1.0-18.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. Install ipa
2. Run ipa-adtrust-install
3. Try deleting "Default Trust View"
4. Try deleting "default trust view"

Actual results:
[root@sideswipe ~]# ipa idview-find
-----------------
1 ID View matched
-----------------
  ID View Name: Default Trust View
  Description: Default Trust View for AD users. Should not be deleted.
----------------------------
Number of entries returned 1
----------------------------

[root@sideswipe ~]# ipa idview-del "Default Trust View"
ipa: ERROR: ID View Default Trust View cannot be deleted/modified: system ID
View

[root@sideswipe ~]# ipa idview-del 'default trust view'
------------------------------------
Deleted ID View "default trust view"
------------------------------------

[root@sideswipe ~]# ipa idview-find
------------------
0 ID Views matched
------------------
----------------------------
Number of entries returned 0
----------------------------

Expected results:
[root@sideswipe ~]# ipa idview-del 'default trust view'
ipa: ERROR: ID View Default Trust View cannot be deleted/modified: system ID
View

Additional info:

ipa-4-1:

  • 96624f2 idviews: Use case-insensitive detection of Default Trust View

master:

  • 93f3bb3 idviews: Use case-insensitive detection of Default Trust View

Metadata Update from @pvoborni:
- Issue assigned to tbabej
- Issue set to the milestone: FreeIPA 4.1.4

7 years ago

Login to comment on this ticket.

Metadata