Bug 667059

Summary: nss client blocks when enumerating local domain after restart.
Product: Red Hat Enterprise Linux 6 Reporter: Gowrishankar Rajaiyan <grajaiya>
Component: sssdAssignee: Stephen Gallagher <sgallagh>
Status: CLOSED ERRATA QA Contact: Chandrasekar Kannan <ckannan>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: benl, dpal, jgalipea, prc
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sssd-1.5.1-1.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 11:42:05 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: 579778    
Attachments:
Description Flags
sssd_nss.log none

Description Gowrishankar Rajaiyan 2011-01-04 09:06:03 UTC
Created attachment 471622 [details]
sssd_nss.log

Description of problem:

Initial enumeration fails after sssd restart for local domain.

Version-Release number of selected component (if applicable):
sssd-1.5.1-0.2010122318git375e3e4.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Configure SSSD for local domain.
2. service sssd restart
3. getent -s sss passwd | grep puser1
  
Actual results:
Enumeration hangs.

Expected results:
Should get entries for puser1 successfully.

Additional info:
# cat /etc/sssd/sssd.conf 
[sssd]
config_file_version = 2
domains = LOCAL
reconnection_retries = 3
services = nss, pam

[nss]
filter_groups = root
filter_users = root
debug_level = 9

[pam]

[domain/LOCAL]
id_provider = local
enumerate = TRUE
max_id = 1010
min_id = 1000

Comment 2 Gowrishankar Rajaiyan 2011-01-04 09:26:04 UTC
Upstream ticket: https://fedorahosted.org/sssd/ticket/757

Comment 4 Gowrishankar Rajaiyan 2011-04-12 13:23:19 UTC
Enumeration works as expected.
# getent -s sss passwd 
localuser4:*:1000:1000:localuser4:/home/localuser4:/bin/bash
localuser5:*:1001:1001:localuser5:/home/localuser5:/bin/bash

# rpm -qi sssd | head
Name        : sssd                         Relocations: (not relocatable)
Version     : 1.5.1                             Vendor: Red Hat, Inc.
Release     : 26.el6                        Build Date: Tue 12 Apr 2011 01:49:31 AM IST
Install Date: Tue 12 Apr 2011 02:29:09 PM IST      Build Host: x86-005.build.bos.redhat.com
Group       : Applications/System           Source RPM: sssd-1.5.1-26.el6.src.rpm
Size        : 3462772                          License: GPLv3+
Signature   : (none)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://fedorahosted.org/sssd/
Summary     : System Security Services Daemon

Comment 5 errata-xmlrpc 2011-05-19 11:42:05 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 6 errata-xmlrpc 2011-05-19 13:09:04 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