Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[regression] All new LDAP users got 65534+ uid instead of 2000+ #1938
Describe the bug
Zentyal OS (please complete the following information):
Other OS (please complete the following information):
Here is forum thread about this bug: https://forum.zentyal.org/index.php/topic,34843.0.html
Seems the source of problem is in
It lookups to max user id, but Zentyal create Guest user id with hard-coded 65534 id in
So after creating Guest user on Zentyal default install, all other users got guest uid+1!
What is right way to fix this problem? Maybe exclude
My quick solution for this bug is to check only id's less than 65534, here is modified code:
After this patch, new users got 2501+ id's, that's good!
Is this right way to fix problem? If yes, I can make pull request with this change.