#5212 ipa vault-find does not use criteria
Closed: Fixed None Opened 8 years ago by spoore.

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

Description of problem:

I'm unable to search for a vault by name without using the --name argument.

[root@master ~]# ipa vault-find
----------------
3 vaults matched
----------------
  Vault name: vnaem
  Type: standard

  Vault name: vname2
  Type: standard

  Vault name: vname3
  Type: standard
----------------------------
Number of entries returned 3
----------------------------
[root@master ~]# ipa vault-find vnaem
----------------
0 vaults matched
----------------
----------------------------
Number of entries returned 0
----------------------------


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

How reproducible:
always


Steps to Reproduce:
1.  ipa-server-install
2.  ipa-kra-install
3.  kinit admin
4.  ipa vault-add vaultname
5.  ipa vault-find vaultname

Actual results:
nothing found

Expected results:
result found matching name more like other ipa find commands.

Additional info:

seems to me as another instance of bug like #5168.search_attributes needs to be defined to contain only attrs a user can read.

master:

  • 29cee7a vault: Fix vault-find with criteria

ipa-4-2:

  • 9d32bca vault: Fix vault-find with criteria

Metadata Update from @spoore:
- Issue assigned to jcholast
- Issue set to the milestone: FreeIPA 4.2.1

7 years ago

Login to comment on this ticket.

Metadata