Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 599027 - Makefile typo causes SSSD not to use the kernel keyring
Makefile typo causes SSSD not to use the kernel keyring
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sssd (Show other bugs)
All Linux
low Severity medium
: rc
: ---
Assigned To: Stephen Gallagher
Chandrasekar Kannan
Depends On: 599026
Blocks: 579775
  Show dependency treegraph
Reported: 2010-06-02 10:38 EDT by Stephen Gallagher
Modified: 2015-01-04 18:42 EST (History)
9 users (show)

See Also:
Fixed In Version: sssd-1.2.0-13.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 599026
Last Closed: 2010-11-10 16:39:49 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Stephen Gallagher 2010-06-02 10:38:27 EDT
+++ This bug was initially created as a clone of Bug #599026 +++

Description of problem:
There is a typo in the Makefile for SSSD. Using KEYUITLS_LIB instead of KEYUTILS_LIB results in the SSSD using its own internal storage instead of the slightly more secure kernel keyring.

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

How reproducible:
Every time

Steps to Reproduce:
1. Compile the SSSD
2. Run the sssd with krb5_store_password_if_offline
Actual results:
The kernel keyring is not used, and internal storage is used instead.

Expected results:
The kernel keyring is used.

Additional info:
Comment 2 Jenny Galipeau 2010-08-17 10:18:49 EDT
Can you please add steps to verify?  How to make sure the kernel keyring is used vs. internal storage. Thanks!
Comment 3 Sumit Bose 2010-08-17 10:33:09 EDT
You can check /proc/keys . If a key for delayed authentication is stored you should see an entry with the user name in the description column.
Comment 4 Gowrishankar Rajaiyan 2010-08-20 02:45:35 EDT
[root@rhel6snap11 ~]# cat /proc/keys 
107ddc77 I--Q--     6 perm 1f3f0000     0    -1 keyring   _uid.0: empty
10fdbfc8 I--Q--     1 perm 1f3f0000     0     0 keyring   _tid: 1/4
1cc03fd9 I--Q--     5 perm 1f3f0000     0     0 keyring   _ses: 1/4
25a28a63 I--Q--     5 perm 1f3f0000     0     0 keyring   _ses: 1/4
28f7beea I--Q--     1 perm 1f3f0000     0    -1 keyring   _uid_ses.0: 1/4
2d80dabe I--Q--     3 perm 1f3f0000     0     0 keyring   _ses: empty
2e418e65 I--Q--     3 perm 1f3f0000     0     0 keyring   _ses: 1/4
3b1fd6d5 I--Q--     1 perm 3b3f0000     0     0 user      sssd: 8          <<<<
3bbc0cce I--Q--    17 perm 1f3f0000     0     0 keyring   _ses: 1/4

Verified. Version: sssd-1.2.1-26.el6.x86_64.
Comment 5 releng-rhel@redhat.com 2010-11-10 16:39:49 EST
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.

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