You are not logged in.

#1 2020-02-11 15:12:11

thejavascriptman
Member
Registered: 2020-02-11
Posts: 25

[SOLVED] kdenetwork-filesharing-19.12.2 not showing all user accounts

Since `kdenetwork-filesharing-19.12.2-1` not all user accounts are displayed under the Share tab in the Properties dialog.

The previous version (`kdenetwork-filesharing-19.12.1-1`) was working just fine.

To reproduce:
* Make sure you have `kdenetwork-filesharing-19.12.2-1` (the latest version at the moment)
* If `kdenetwork-filesharing` was reinstalled make sure to close and reopen Dolphin
* Add a new group: `sudo groupadd sambashare`
* Add a new user: `sudo useradd -G sambashare -M -r -s /usr/bin/nologin sambauser`
* Launch Dolphin, open the Properties dialog of any directory and go to the Share tab

Expected result:
The user "sambauser" is diplayed in the list along other user accounts

Actual result:
Only "Everyone" and the currently logged-in user are displayed

Last edited by thejavascriptman (2020-02-12 12:54:38)

Offline

#2 2020-02-11 15:30:08

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: [SOLVED] kdenetwork-filesharing-19.12.2 not showing all user accounts

That's intentional, whats the UID of this user? https://cgit.kde.org/kdenetwork-filesha … 512cedd09a

Mod note, not a packaging issue, moving to Apps & DEs

Last edited by V1del (2020-02-11 15:30:45)

Offline

#3 2020-02-11 16:14:20

thejavascriptman
Member
Registered: 2020-02-11
Posts: 25

Re: [SOLVED] kdenetwork-filesharing-19.12.2 not showing all user accounts

Thanks for the quick reply, UID as follows:

uid=969(sambauser) gid=969(sambauser) groups=969(sambauser),1001(sambashare)

I also tried creating different types of user accounts and I realized that system accounts are not being displayed, is there a way to display the system accounts back again?, it would feel like a workaround to create a non-system account just to make it show under the Share tab

Last edited by thejavascriptman (2020-02-11 16:15:08)

Offline

#4 2020-02-11 16:58:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: [SOLVED] kdenetwork-filesharing-19.12.2 not showing all user accounts

Needs an UID bigger than 1000 and smaller than 6000 and it looks pretty hardcoded you might have a point for a bug report but I'm unsure whether that will be honored, it looks like it's intended to be for actual users.

Offline

#5 2020-02-12 12:53:52

thejavascriptman
Member
Registered: 2020-02-11
Posts: 25

Re: [SOLVED] kdenetwork-filesharing-19.12.2 not showing all user accounts

Thanks for the explanation, I deleted and created a new user with the same name and ID greater than 1000 and lower than 6000, and it appeared under the Share tab as expected.

To prevent the new user from appearing in the login screen I added `HideUsers=sambauser` to `/etc/sddm.conf`.

Offline

Board footer

Powered by FluxBB