#3744 Race condition between concurrent initgroups requests can cause one of them to return incomplete information
Closed: Fixed 10 months ago Opened 10 months ago by jhrozek.

An initgroups request for an AD user consists of two parts - resolving the AD user, which internally calls an LDAP request and adding the IPA external group memberships. For (probably?) historical reasons from the time before we had any notion of subdomains, the initgrTimestamp attribute is written down at the LDAP request level when it finishes -- which means the initgrTimestamp is written before the IPA external group membership is evaluated.

When two requests for initgroups arrive semi-concurrently, it can happen that the first request will trigger the whole machinery while the other one would evaluate the initgrTimestamp attribute that was just bumped, but the IPA group memberships were not yet written to the cache.

The result is that the second racing request only returns AD groups.


Metadata Update from @jhrozek:
- Issue tagged with: PR, bug

10 months ago

Metadata Update from @fidencio:
- Issue untagged with: PR
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

10 months ago

Metadata Update from @jhrozek:
- Issue set to the milestone: SSSD 1.16.2

10 months ago

Metadata Update from @jhrozek:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1568370

9 months ago

Login to comment on this ticket.

Metadata