Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NAS-126747 / s3/lib/idmap_cache - don't cache Unix account sids #359

Open
wants to merge 1 commit into
base: SCALE-v4-19-stable
Choose a base branch
from

Conversation

anodos325
Copy link
Collaborator

Local unix users and groups are implicitly mapped with a special samba SID prefix. This means that queries for instance for S-1-22-1-3000 will resolve to UID 3000 and generate a reverse UID to SID mapping that overwrites any prior one retrieved via passdb. This commit prevents us from storing the reverse mapping for these account SIDs in gencache to avoid pollution.

Local unix users and groups are implicitly mapped with
a special samba SID prefix. This means that queries
for instance for S-1-22-1-3000 will resolve to UID 3000
and generate a reverse UID to SID mapping that overwrites
any prior one retrieved via passdb. This commit prevents
us from storing the reverse mapping for these account
SIDs in gencache to avoid pollution.
@anodos325 anodos325 changed the title s3/lib/idmap_cache - don't cache Unix account sids NAS-126747 / s3/lib/idmap_cache - don't cache Unix account sids Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant