You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of problem:
When the same netgroup is requested twice, the getent request seemingly pauses
and then only returns the data from cache.
This is caused by an iterator variable reused in inner loop in the code.
Version-Release number of selected component (if applicable):
-66
How reproducible:
always
Steps to Reproduce:
1. on an IPA server, add a netgroup. Mine looks like this:
$ ipa netgroup-show testngr
Netgroup name: testngr
Description: a test netgroup
NIS domain name: idm.lab.bos.redhat.com
Member User: foobar
2. on the client, set a low entry_cache_timeout to force requests to go to the
server.
3. run getent netgr testngr. Results show up.
4. run it again,
Actual results:
The second invocation will pause for a moment and then fall back to cached data
(which can be verified by adding another member user on the server)
Expected results:
No pause and up to date data is returned
Additional info:
Cloned from Pagure issue: https://pagure.io/SSSD/sssd/issue/1134
https://bugzilla.redhat.com/show_bug.cgi?id=772163
Comments
Comment from dpal at 2012-01-12 15:09:54
Fields changed
blockedby: =>
blocking: =>
coverity: =>
milestone: NEEDS_TRIAGE => SSSD 1.7.91 (1.8.0 beta 1)
owner: somebody => jhrozek
patch: => 0
tests: => 0
testsupdated: => 0
upgrade: => 0
Comment from jhrozek at 2012-01-16 09:38:59
Fixed in 029e6f1
resolution: => fixed
status: new => closed
Comment from jhrozek at 2017-02-24 15:02:22
Metadata Update from @jhrozek:
The text was updated successfully, but these errors were encountered: