Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1007381

Summary: proxy provider: id lookup shows "Memory buffer error" in domain log
Product: Red Hat Enterprise Linux 6 Reporter: Stephen Beal <sbeal>
Component: sssdAssignee: Jakub Hrozek <jhrozek>
Status: CLOSED ERRATA QA Contact: Kaushik Banerjee <kbanerje>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.5CC: chhudson, dpal, grajaiya, jgalipea, kbanerje, lslebodn, mkosek, pbrezina, sbeal
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sssd-1.11.5.1-1.el6 Doc Type: Bug Fix
Doc Text:
Cause: The proxy provider's group handling had a bug where the provider expected every user has at least one supplemetary group. Consequence: If a user who belongs to his private group only was requested, the request finished with an error. Fix: The proxy provider was fixed to handle users with no supplemetary groups fine. Result: Requesting users with no supplementary groups works now.
Story Points: ---
Clone Of: 895565 Environment:
Last Closed: 2014-10-14 04:46:42 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: 895565    
Bug Blocks: 1061410    

Comment 2 Jakub Hrozek 2013-09-12 12:04:09 UTC
To test, configure a proxy provider that proxies to files and request a user that is only a member of his private group, not any supplementary group.

Comment 5 Jakub Hrozek 2013-09-19 08:34:41 UTC
This bug is targeting 6.6

Comment 6 Jakub Hrozek 2013-10-17 08:56:44 UTC
There is an upstream patch, moving to ASSIGNED

Comment 7 Jakub Hrozek 2013-10-31 11:21:28 UTC
Fixed upstream in 66d1f565dfb39325ab7daa264b5795b1f348756e

Comment 10 Kaushik Banerjee 2014-07-14 16:00:11 UTC
Verified with sssd version 1.11.6-1.el6

Output from beaker automation run:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: proxy_rfc2307_06: BZ1007381 initgroup returns memory buffer error
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

uid=1111111(User_CS1_Alias) gid=1111111(User_CS1_grp1_Alias) groups=1111111(User_CS1_grp1_Alias)
:: [   PASS   ] :: Running 'id User_CS1' (Expected 0, got 0)
:: [   PASS   ] :: File '/var/log/sssd/sssd_PROXY.log' should contain 'Assume the user is only member of its primary group' 
:: [   PASS   ] :: File '/var/log/sssd/sssd_PROXY.log' should not contain 'Memory buffer' 
proxy-rfc2307-06 result: PASS

Comment 11 errata-xmlrpc 2014-10-14 04:46:42 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, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1375.html