#1248 getent netgroup hangs when "use_fully_qualified_names = TRUE" in sssd
Closed: Fixed None Opened 12 years ago by jhrozek.

https://bugzilla.redhat.com/show_bug.cgi?id=802207 (Red Hat Enterprise Linux 6)

Description of problem:
The "getent netgroup <some-group>" command hangs, when
"use_fully_qualified_names = TRUE" is enabled in sssd.conf.

Version-Release number of selected component (if applicable):
sssd-1.8.0-11.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. To produce the issue, setup sssd.conf as below:

[sssd]
reconnection_retries = 3
config_file_version = 2
sbus_timeout = 30
services = nss, pam
domains = LDAP

[nss]
filter_groups = root
filter_users = root
reconnection_retries = 3

[pam]
reconnection_retries = 3

[domain/LDAP]
id_provider = ldap
auth_provider = ldap
enumerate = TRUE
cache_credentials = TRUE
debug_level = 9
chpass_provider = ldap
ldap_tls_reqcert = hard
ldap_uri = ldap://hubcap.lab.eng.pnq.redhat.com
ldap_search_base = dc=example,dc=com
ldap_tls_cacertdir = /etc/openldap/cacerts/

use_fully_qualified_names = TRUE

ldap_schema = rfc2307
ldap_default_bind_dn = cn=Manager,dc=example,dc=com
ldap_default_authtok = Secret123

2. Start sssd service and run the following step:

[root@sssd-client sssd]# getent netgroup some_group

Actual results:
You will observe that the command hangs. Press Ctrl+C to get the prompt back.

[root@sssd-client sssd]# getent netgroup some_group
^C

Expected results:
The command should not hang, and user should get back the command prompt.

Additional info:

This bug was already fixed during 1.8.1 development. Filing for bookkeeping purposes.

Fixed in:

blockedby: =>
blocking: =>
coverity: =>
feature_milestone: =>
milestone: NEEDS_TRIAGE => SSSD 1.8.1 (LTM)
patch: 0 => 1
resolution: => fixed
status: new => closed
tests: => 0
testsupdated: => 0
upgrade: => 0

Metadata Update from @jhrozek:
- Issue set to the milestone: SSSD 1.8.1 (LTM)

7 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/2290

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata