Bug 367280 - sddm can't show uid > 65000
Summary: sddm can't show uid > 65000
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_sddm (other bugs)
Version First Reported In: 5.7.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-17 15:34 UTC by Eric BURGHARD
Modified: 2019-07-25 22:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric BURGHARD 2016-08-17 15:34:44 UTC
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
Comment 1 David Edmundson 2016-09-27 10:04:28 UTC
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
Comment 2 David Edmundson 2016-09-27 10:06:31 UTC
Note you can set this manually in /etc/sddm.conf
MaximumUid=100000
Comment 3 Filip Fila 2019-07-25 22:15:59 UTC
David, since there is a Maximum UID GUI option which seems like an OK solution to the problem, can we close this bug report?