Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 691900 - SSSD needs to fall back to 'cn' for GECOS information (was: SSSD configuration problem when configured with MSAD)
SSSD needs to fall back to 'cn' for GECOS information (was: SSSD configuratio...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: sssd (Show other bugs)
5.7
x86_64 Unspecified
unspecified Severity high
: rc
: ---
Assigned To: Stephen Gallagher
Chandrasekar Kannan
: Reopened
Depends On: 691678 692090 748822
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-29 16:21 EDT by Stephen Gallagher
Modified: 2015-01-04 18:47 EST (History)
9 users (show)

See Also:
Fixed In Version: sssd-1.5.1-28.el5
Doc Type: Bug Fix
Doc Text:
Previously, when GECOS attribute for a user was missing, SSSD did not fall back for this information to the "cn" attribute as it should have. SSSD now correctly falls back to the "cn" attribute for GECOS if the GECOS field is empty, making SSSD fully compliant with section 5.3 of RFC 2307.
Story Points: ---
Clone Of: 691678
Environment:
Last Closed: 2011-07-21 04:10:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0975 normal SHIPPED_LIVE Low: sssd security, bug fix, and enhancement update 2011-07-21 04:09:03 EDT

  None (edit)
Comment 2 Kaushik Banerjee 2011-05-16 12:06:04 EDT
1. Add a user user1 without gecos attribute.

2. Enumerate user1
#getent -s sss passwd user1
user1:*:1091:1091:user1:/home/user1:/bin/bash

3. Auth as user1.

4. Enumerate user1
# getent -s sss passwd user1
user1:*:1091:1091:user1:/home/user1:/bin/bash

Verified in version:
# rpm -qi sssd | head
Name        : sssd                         Relocations: (not relocatable)
Version     : 1.5.1                             Vendor: Red Hat, Inc.
Release     : 34.el5                        Build Date: Tue 03 May 2011 10:46:09 PM IST
Install Date: Wed 11 May 2011 02:07:53 PM IST      Build Host: x86-004.build.bos.redhat.com
Group       : Applications/System           Source RPM: sssd-1.5.1-34.el5.src.rpm
Size        : 3508089                          License: GPLv3+
Signature   : (none)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://fedorahosted.org/sssd/
Summary     : System Security Services Daemon
Comment 3 Miroslav Svoboda 2011-07-15 09:29:34 EDT
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Previously, when GECOS information (an entry in the /etc/passwd file) for a user was missing, SSSD did not look for this information in the "cn" attribute as it should have. SSSD now correctly falls back to the "cn" attribute for GECOS if the GECOS field is empty, making SSSD fully compliant with section 5.3 of RFC 2307.
Comment 4 Jakub Hrozek 2011-07-15 10:00:36 EDT
(In reply to comment #3)
>     Technical note added. If any revisions are required, please edit the
> "Technical Notes" field
>     accordingly. All revisions will be proofread by the Engineering Content
> Services team.
> 
>     New Contents:
> Previously, when GECOS information (an entry in the /etc/passwd file) for a
> user was missing, SSSD did not look for this information in the "cn" attribute
> as it should have. SSSD now correctly falls back to the "cn" attribute for
> GECOS if the GECOS field is empty, making SSSD fully compliant with section 5.3
> of RFC 2307.

The note is not correct. GECOS is not an entry in the /etc/passwd file, it is a field that usually contains user's real name, it is stored with the rest of the user entry. Only if the user record is stored in /etc/passwd, so is his GECOS.

I've modified the technical note accordingly.
Comment 5 Jakub Hrozek 2011-07-15 10:00:36 EDT
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-Previously, when GECOS information (an entry in the /etc/passwd file) for a user was missing, SSSD did not look for this information in the "cn" attribute as it should have. SSSD now correctly falls back to the "cn" attribute for GECOS if the GECOS field is empty, making SSSD fully compliant with section 5.3 of RFC 2307.+Previously, when GECOS attribute for a user was missing, SSSD did not fall back for this information to the "cn" attribute as it should have. SSSD now correctly falls back to the "cn" attribute for GECOS if the GECOS field is empty, making SSSD fully compliant with section 5.3 of RFC 2307.
Comment 6 errata-xmlrpc 2011-07-21 04:10:13 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0975.html

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