We use samba active directory mode and sssd to authenticate users and since one recent update (we are using kde neon stable 5.7.3), users are not appearing anymore in sddm, because uid are in the range of 1 000 000 000 On my regular linux box __UID_T_TYPE is 32 bits unsigned, so there's no reason to limit to a weird 65000 Reproducible: Always Steps to Reproduce: 1. create a user id > 65000 2. try to login with sddm 3. Actual Results: user not showing in users list Expected Results: user appearing in sddm users list
There is some reasoning behind it. SDDM reads /etc/login.defs (at compile time, which is a bit wrong) and sets UID_MAX to 6500 if it's not available. I don't want to just change the limit in the KCM to uint_max, as SDDM will still enforce it's limit - acheiving nothing. I need to: - convert SDDM into a runtime check - copy and paste that code here
Note you can set this manually in /etc/sddm.conf MaximumUid=100000
David, since there is a Maximum UID GUI option which seems like an OK solution to the problem, can we close this bug report?