#1783 Group lookup fails and takes ~60s to return to shell if member dn is incorrect
Closed: Fixed None Opened 7 years ago by pbrezina.

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

Description of problem:
Group lookup hangs for a minute if member dn is incorrect.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Add a group as follows:
dn: cn=Group_02,ou=Groups,dc=example,dc=com
gidNumber: 10120
objectClass: top
objectClass: groupOfNames
objectClass: posixGroup
cn: Group_02
member: uid=kuser1    <== I removed ",dc=example,dc=com"

2. Try to lookup the group
# time getent group Group_02

real    0m58.008s    <== Takes almost a minute to return back to shell
user    0m0.000s
sys    0m0.001s


Actual results:
Group lookup fails and takes a minute to come back to shell.

Expected results:
Group lookup shouldn't fail, but shouldn't return any members either.

Additional info:

Fields changed

blockedby: =>
blocking: =>
coverity: =>
design: =>
design_review: => 0
feature_milestone: =>
fedora_test_page: =>
patch: 0 => 1
selected: =>
testsupdated: => 0

Fields changed

owner: somebody => pbrezina
patch: 1 => 0
status: new => assigned

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.9.5

Fields changed

patch: 0 => 1

Patch was available in time for 1.9.4 release.

milestone: SSSD 1.9.5 => SSSD 1.9.4

resolution: => fixed
status: assigned => closed

Metadata Update from @pbrezina:
- Issue assigned to pbrezina
- Issue set to the milestone: SSSD 1.9.4

2 years ago

Login to comment on this ticket.