Bug 633487

Summary: SSSD initgroups does not behave as expected
Product: Red Hat Enterprise Linux 6 Reporter: Stephen Gallagher <sgallagh>
Component: sssdAssignee: Stephen Gallagher <sgallagh>
Status: CLOSED ERRATA QA Contact: Chandrasekar Kannan <ckannan>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.0CC: benl, dpal, grajaiya, jgalipea, kbanerje, mkhusid, myllynen, pep
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: sssd-1.2.1-32.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 636055 (view as bug list) Environment:
Last Closed: 2011-05-19 11:39:34 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:
Bug Depends On:    
Bug Blocks: 636055, 642412    

Description Stephen Gallagher 2010-09-13 20:04:09 UTC
Description of problem:
There are several issues surrounding initgroups in SSSD.

1) Initgroups calls to not work on users who are not cached
2) Initgroups does not always return all groups for a user
3) Processing of the RFC2307bis schema is incorrect (relies on memberOf attributes when it should not)


Version-Release number of selected component (if applicable):
sssd-1.2.1-28.el6

  
Actual results:
initgroups() call should always return all groups for the specified user.

Comment 5 Gowrishankar Rajaiyan 2011-03-15 11:16:25 UTC
# rpm -qi sssd | head
Name        : sssd                         Relocations: (not relocatable)
Version     : 1.5.1                             Vendor: Red Hat, Inc.
Release     : 14.el6                        Build Date: Wed 09 Mar 2011 02:30:12 PM EST
Install Date: Tue 15 Mar 2011 03:04:29 AM EDT      Build Host: x86-009.build.bos.redhat.com
Group       : Applications/System           Source RPM: sssd-1.5.1-14.el6.src.rpm
Size        : 3418526                          License: GPLv3+
Signature   : RSA/8, Thu 10 Mar 2011 11:27:42 AM EST, Key ID 938a80caf21541eb
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://fedorahosted.org/sssd/
Summary     : System Security Services Daemon

Verified.

Comment 6 errata-xmlrpc 2011-05-19 11:39:34 UTC
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-0560.html

Comment 7 errata-xmlrpc 2011-05-19 13:08:43 UTC
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-0560.html