-
Notifications
You must be signed in to change notification settings - Fork 13
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
Issue: uid greater than 2^31-1 #525
Comments
Hey! Thanks for reporting this bug and help making authd better. We did some recent changes on the id generation, but it shouldn’t pass max int32 for the exact reasons you gave. The surprising thing is that the version is not in our released ppa. We would need to get the version of authd you tried this with to confirm this may be related to the new logic we introduced. Do you mind running |
I will have to get with my IT department on how the machine is actually set up:
|
This looks like the issue that was reported against the old project |
The UID and GID ranges in authd are configurable since 3b1f126. The defaults are: authd/internal/users/manager.go Lines 29 to 34 in bb7d9cf
|
Is there an existing issue for this?
Describe the issue
I have, from active directory, a user ID of 3846276768 which I believe is causing issues in Ubuntu 24.04
The issues I am seeing are things like the terminal and nautilus are extremely slow to open the first time, and things like zscaler are stuck initializing.
I have two co-workers who do not have these issues logged into their account on the same computer, the only difference we are seeing is the user ID, and neither of them have the highest order bit set like I do.
I have also logged into one of their computers and ran into the same issue.
I can see in the auth.log things like this where the uid is negative
2024-09-11T14:23:43.095087-06:00 af-36qr7v3 sudo: pam_unix(sudo:auth): authentication failure; logname= uid=-448690528 euid=0 tty=/dev/pts/4 ruser= rhost= user=
but also other times where it is positive
2024-09-11T14:24:00.490586-06:00 af-36qr7v3 sudo: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=3846276768)
This very possible could not be related to authd/pam at all and this could just be printing it as signed instead of unsigned
Steps to reproduce
I believe having a user ID higher than 2147483648 should cause this problem
It is consistent across computers and logins.
System information and logs
authd version
authd-msentraid broker version
gnome-shell version
Distribution
Logs
authd broker configuration
authd-msentraid configuration
Double check your logs
The text was updated successfully, but these errors were encountered: