Bug 1007381 - proxy provider: id lookup shows "Memory buffer error" in domain log
Summary: proxy provider: id lookup shows "Memory buffer error" in domain log
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sssd
Version: 6.5
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: ---
Assignee: Jakub Hrozek
QA Contact: Kaushik Banerjee
Depends On: 895565
Blocks: 1061410
TreeView+ depends on / blocked
Reported: 2013-09-12 11:35 UTC by Stephen Beal
Modified: 2018-12-04 15:52 UTC (History)
9 users (show)

Fixed In Version: sssd-
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.
Clone Of: 895565
Last Closed: 2014-10-14 04:46:42 UTC

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1375 normal SHIPPED_LIVE sssd bug fix and enhancement update 2014-10-14 01:06:25 UTC
Red Hat Knowledge Base (Solution) 484823 None None None Never

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.


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