RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1846778 - [RfE] `/usr/libexec/sssd/p11_child` cmdline argument '--nssdb' might be confusing when SSSD was built against OpenSSL
Summary: [RfE] `/usr/libexec/sssd/p11_child` cmdline argument '--nssdb' might be conf...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: sssd
Version: 8.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Alexey Tikhonov
QA Contact: Scott Poore
URL:
Whiteboard: sync-to-jira
Depends On: 1881992
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-14 07:32 UTC by Thorsten Scherf
Modified: 2024-10-01 16:42 UTC (History)
10 users (show)

Fixed In Version: sssd-2.4.0-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 15:03:57 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SSSD-2610 0 None None None 2024-10-01 16:42:15 UTC

Description Thorsten Scherf 2020-06-14 07:32:27 UTC
Description of problem:
`/usr/libexec/sssd/p11_child` has the command-line argument `--nssdb`. However, this argument doesn't always mean "NSS database". If SSSD was built in OpenSSL mode (e.g. RHEL 8.x) instead of NSS mode (e.g. RHEL 7.x), then `--nssdb` actually means the CA root certificates in PEM format. It's referred to as both `nss_sb` and `ca_db` in the common source file `p11_child_common.c`.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:
Rename the argument '--nssdb' to something more generic. 

Additional info:

Comment 3 Alexey Tikhonov 2020-07-21 18:35:40 UTC
Upstream PR: https://github.com/SSSD/sssd/pull/5246

Comment 4 Alexey Tikhonov 2020-08-27 14:11:41 UTC
Pushed PR: https://github.com/SSSD/sssd/pull/5246

* `master`
    * a2911482a00dfad79e5f69d42d7e882fc0c717af - Get rid of "NSS DB" references.
    * 266ecc083d5fe9f576b7932a80ecb014d2d25311 - Drop support of libnss as a crypto backend

Comment 12 Scott Poore 2020-11-30 18:42:44 UTC
Verified.

Version ::

sssd-2.4.0-2.el8

Results ::

Verified with automated test run.

...

transport.py               519 DEBUG    RUN ['/usr/libexec/sssd/p11_child', '--pre', '--ca_db=/etc/sssd/pki/sssd_auth_ca_db.pem']
transport.py               563 DEBUG    ipauser1
transport.py               563 DEBUG    /usr/lib64/pkcs11/opensc-pkcs11.so
transport.py               563 DEBUG    0001
transport.py               563 DEBUG    CAC ID Certificate
transport.py               563 DEBUG    MIIEtjCCAx6gAwIBAgIBLjANBgkqhkiG9w0BAQsFADA5MRcwFQYDVQQKDA5TTUFSVENBUkQuVEVTVDEeMBwGA1UEAwwVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIwMTEyODE5NDkxMloXDTIyMTEyOTE5NDkxMlowLDEXMBUGA1UECgwOU01BUlRDQV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ISKeKylSzRt0oGbsi39iBTI8g3YTP6TUEYRXqvCOxdr682fqM7pxgkIs8mKJS36gPpeP8beO3VrUaU80x+ETYjjsdl/nmrWJZ+wZaleFlSlWUri93gbzjnTjxgU7zrUCrK2Uy8R6QUUyuIhT4owHm8cvCxCZygIJNILSvslXZ2E819xMQ/eyX3wODnVD+yIW5tcqk61QyUIfeqZ6h8h29LtM4Aoaddt/Rp8PiO95OKQldJV1f1r6PGwReZrgWAfHrlGqYXZm2ANYu6Ekx8s4O7tFN8OkcVqB0ZH2ZCZS7W8ibAwQh4rH2h1/6NeQa6FS4brWgDcdGYRBO+8ozXCOPIY7A3Nbx3b76iMWg==
transport.py               217 DEBUG    Exit code: 0

Comment 15 errata-xmlrpc 2021-05-18 15:03:57 UTC
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 (sssd bug fix and enhancement update), 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/RHBA-2021:1666


Note You need to log in before you can comment on or make changes to this bug.