Bug 1252555
Summary: | ipa vault-find doesn't work for services | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Jan Cholasta <jcholast> |
Component: | ipa | Assignee: | IPA Maintainers <ipa-maint> |
Status: | CLOSED ERRATA | QA Contact: | Namita Soman <nsoman> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.2 | CC: | ksiddiqu, pvoborni, rcritten, spoore |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ipa-4.2.0-5.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-11-19 12:05:17 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jan Cholasta
2015-08-11 16:46:12 UTC
first part implemented upstream: master: https://fedorahosted.org/freeipa/changeset/01dd951ddc0181b559eb3dd5ff0336c81e245628 ipa-4-2: https://fedorahosted.org/freeipa/changeset/cb575e6a16c3f1a001b13b96279ecd758c8783a1 Fixed upstream master: https://fedorahosted.org/freeipa/changeset/0abaf195dc3b0920d2439dd4ec6df61e0aadc4f9 ipa-4-2: https://fedorahosted.org/freeipa/changeset/89c9feaf93299c96bb227b3705246193a1de1d82 Verified. Version :: ipa-server-4.2.0-12.el7.x86_64 Results :: ############# Services: [root@rhel7-5 ~]# ipa service-add SVC1/$(hostname) ---------------------------------------------------- Added service "SVC1/rhel7-5.example.com" ---------------------------------------------------- Principal: SVC1/rhel7-5.example.com Managed by: rhel7-5.example.com [root@rhel7-5 ~]# ipa service-add SVC2/$(hostname) ---------------------------------------------------- Added service "SVC2/rhel7-5.example.com" ---------------------------------------------------- Principal: SVC2/rhel7-5.example.com Managed by: rhel7-5.example.com [root@rhel7-5 ~]# ipa vault-add vault_svc1 --service SVC1/$(hostname) --password-file password.txt ------------------------ Added vault "vault_svc1" ------------------------ Vault name: vault_svc1 Type: symmetric Salt: pasRLjQaJfHJ52J0w50+vw== Owner users: admin Vault service: SVC1/rhel7-5.example.com [root@rhel7-5 ~]# ipa vault-add vault_svc2 --service SVC2/$(hostname) --password-file password.txt ------------------------ Added vault "vault_svc2" ------------------------ Vault name: vault_svc2 Type: symmetric Salt: xmjSE51f4QfJsxSusO2oMQ== Owner users: admin Vault service: SVC2/rhel7-5.example.com [root@rhel7-5 ~]# ipa vault-find --services ---------------- 2 vaults matched ---------------- Vault name: vault_svc1 Type: symmetric Vault service: SVC1/rhel7-5.example.com Vault name: vault_svc2 Type: symmetric Vault service: SVC2/rhel7-5.example.com ---------------------------- Number of entries returned 2 ---------------------------- ############# Users: [root@rhel7-5 ~]# ipa user-add --first=f --last=l user1 ------------------ Added user "user1" ------------------ User login: user1 First name: f Last name: l Full name: f l Display name: f l Initials: fl Home directory: /home/user1 GECOS: f l Login shell: /bin/sh Kerberos principal: user1 Email address: user1 UID: 546200001 GID: 546200001 Password: False Member of groups: ipausers Kerberos keys available: False [root@rhel7-5 ~]# ipa user-add --first=f --last=l user2 ------------------ Added user "user2" ------------------ User login: user2 First name: f Last name: l Full name: f l Display name: f l Initials: fl Home directory: /home/user2 GECOS: f l Login shell: /bin/sh Kerberos principal: user2 Email address: user2 UID: 546200003 GID: 546200003 Password: False Member of groups: ipausers Kerberos keys available: False [root@rhel7-5 ~]# ipa vault-add vault_user1 --user=user1 --password-file password.txt ------------------------- Added vault "vault_user1" ------------------------- Vault name: vault_user1 Type: symmetric Salt: TC6TmWPUiXhS8QFMGENoYA== Owner users: admin Vault user: user1 [root@rhel7-5 ~]# ipa vault-add vault_user2 --user=user2 --password-file password.txt ------------------------- Added vault "vault_user2" ------------------------- Vault name: vault_user2 Type: symmetric Salt: LfxyRanN5RdmS0RAkzdQaA== Owner users: admin Vault user: user2 [root@rhel7-5 ~]# ipa vault-find --users ---------------- 2 vaults matched ---------------- Vault name: vault_user1 Type: symmetric Vault user: user1 Vault name: vault_user2 Type: symmetric Vault user: user2 ---------------------------- Number of entries returned 2 ---------------------------- Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2362.html |