https://bugs.kde.org/show_bug.cgi?id=467176

--- Comment #6 from Josef Schabasser <[email protected]> ---
I found the issue in file samba/filepropertiesplugin/usermanager.cpp
1. on line 22 the max UID is set to 65000
2. then the file /etc/login.defs is parsed
3. the max UID is overwritten with whatever UID_MAX is found in aforementioned
file

I would solve it as follows:
1. detect if user is managed by systemd-homed
2. if true, use 60001-60513 (or multiple ranges) as described here:
https://systemd.io/UIDS-GIDS/
3. if false, parse /etc/login.defs and use what's configured there with
fallbacks to 1000-65000

Setting UID_MAX to 65000 in /etc/login.defs works around this issue.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to