Bug 748820

Summary: RFC2307bis initgroups calls are slow
Product: Red Hat Enterprise Linux 5 Reporter: Jakub Hrozek <jhrozek>
Component: sssdAssignee: Stephen Gallagher <sgallagh>
Status: CLOSED ERRATA QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.8CC: dpal, grajaiya, jgalipea, kbanerje, prc
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sssd-1.5.1-38.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 742288 Environment:
Last Closed: 2012-02-21 06:23:08 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: 742288    
Bug Blocks:    

Comment 1 Kaushik Banerjee 2012-01-24 14:57:20 UTC
All regression automation tests related to initgroups have passed successfully.

And, doing a id on a user in AD belonging to 1000 groups returns:

# time id user01
uid=50001(user01) gid=50001(group01) groups=50001(group01),5000986(group0986),5000810(group0810),5000885(group0885),5000811(group0811),5000884(group0884),5000315(group0315),5000425(group0425),
...
...
...
9(group0609),5000694(group0694),5000700(group0700),5000795(group0795),5000931(group0931) context=root:system_r:unconfined_t:SystemLow-SystemHigh

real	2m38.088s
user	0m0.047s
sys	0m0.068s


Verified in version:

# rpm -qi sssd | head
Name        : sssd                         Relocations: (not relocatable)
Version     : 1.5.1                             Vendor: Red Hat, Inc.
Release     : 49.el5                        Build Date: Wed 18 Jan 2012 12:00:04 AM IST
Install Date: Tue 24 Jan 2012 07:18:44 PM IST      Build Host: x86-003.build.bos.redhat.com
Group       : Applications/System           Source RPM: sssd-1.5.1-49.el5.src.rpm
Size        : 3651337                          License: GPLv3+
Signature   : (none)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://fedorahosted.org/sssd/
Summary     : System Security Services Daemon

Comment 2 errata-xmlrpc 2012-02-21 06:23:08 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-2012-0164.html