Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

INITGROUPS fails on GIDs > 2147483647 #6

Closed
max-privatevoid opened this issue Jun 10, 2023 · 1 comment
Closed

INITGROUPS fails on GIDs > 2147483647 #6

max-privatevoid opened this issue Jun 10, 2023 · 1 comment

Comments

@max-privatevoid
Copy link

User max is member of a group with GID 2709991565.
Running id max, nsncd (unstable-2022-11-14 from nixpkgs 96f8f4a038a190f7511da79ef7e77bec5e4b811a) returns:

uid=646000001(max) gid=646000001(max) groups=646000001

nscd returns:

uid=646000001(max) gid=646000001(max) groups=646000001(max),2709991565(infra_admins)

Log for nsncd shows this error message:

Jun 11 00:00:39.334 ERRO error handling request, err: out of range integral type conversion attempted, request_type: INITGROUPS, thread: worker_5

Users with GIDs <= 2147483647 get their groups listed correctly, so I'm guessing this is a signed vs. unsigned issue.

@flokli
Copy link
Collaborator

flokli commented Oct 30, 2023

This is a fork of https://github.com/twosigma/nsncd (with the intention to upstream), and doesn't have any changes regarding initgroups. Please open the issue there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants