Bug 1430675
| Summary: | [RFE] Add support for multi-user lookup | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Pavel Vomacka <pvomacka> |
| Component: | mod_lookup_identity | Assignee: | David Kupka <dkupka> |
| Status: | CLOSED ERRATA | QA Contact: | Scott Poore <spoore> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.4 | CC: | dkupka, ipa-qe, jpazdziora, ksiddiqu, mkosek, nsoman, spoore, tdudlak |
| Target Milestone: | rc | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | mod_lookup_identity-0.9.9-1.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-08-01 22:55:28 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1402959 | ||
|
Description
Pavel Vomacka
2017-03-09 09:40:21 UTC
This looks to be needed to support bug 1402959. Initial upstream pull request: https://github.com/adelton/mod_lookup_identity/pull/3 David Kupka was working on this RFE. When I add a certificate to a second user, I cannot login as either user with the smart card and I see this in error_log: [Tue May 02 14:54:01.685879 2017] [lookup_identity:error] [pid 14586] [client 10.13.129.184:49298] lookup_user_by_certificate failed [dbus_connection_send_with_reply_and_block(org.freedesktop.sssd.infopipe.Users.FindByNameAndCertificate)]: [More than one user found. Use ListByCertificate to get all.], referer: https://auto-hv-02-guest08.testrelm.test/ipa/ui/ I forgot to mention the version:
mod_lookup_identity-1.0.0-1.el7.x86_64
Also, for reference:
[root@auto-hv-02-guest08 ~]# dbus-send --system --print-reply --dest=org.freedesktop.sssd.infopipe /org/freedesktop/sssd/infopipe/Users org.freedesktop.sssd.infopipe.Users.ListByCertificate string:"$(cat scuser107_cert1.pem)" uint32:10
method return sender=:1.5 -> dest=:1.11 reply_serial=2
array [
object path "/org/freedesktop/sssd/infopipe/Users/testrelm_2etest/576400135"
object path "/org/freedesktop/sssd/infopipe/Users/testrelm_2etest/576400132"
]
[root@auto-hv-02-guest08 ~]#
David determined that the issue I was seeing was due to an upgrade issue with IPA not properly setting LookupUserByCertificate in /etc/httpd/conf.d/ipa.conf. Since the server I was testing on had been upgraded from an earlier version, this did not get set properly. With the settings manually added, testing worked as expected. [root@auto-hv-02-guest08 ~]# grep Lookup /etc/httpd/conf.d/ipa.conf LookupUserByCertificate On LookupUserByCertificateParamName "username" [root@auto-hv-02-guest08 ~]# Moving back to ON_QA since the issue I saw is resolved and unrelated to mod_lookup_identity. Verified. Version :: mod_lookup_identity-1.0.0-1.el7.x86_64 Results :: See verification results here: https://bugzilla.redhat.com/show_bug.cgi?id=1403194#c4 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://access.redhat.com/errata/RHEA-2017:2115 |