Active sssd user almost never shown in GDM user list when account also exists locally (in /etc/passwd) with no 'comment' field
Submitted by Adam Williamson
Assigned to Matthias Clasen @mclasen
Description
I have a FreeIPA setup on my home network, with three client machines all running Fedora (two F21, one F20). My actual user account - adamw, UID 1001, the one I log in to every day - almost never shows up on GDM's list on any of the three systems. In fact it may actually never show up, I don't think I recall it ever happening.
Sometimes, one of the other accounts configured in my FreeIPA instance will show up in the list - even though those accounts rarely or never actually log in.
On all three systems, my account seems to be in the cached list:
[adamw@xps13 ~]$ dbus-send --system --type=method_call --print-reply \
--dest=org.freedesktop.Accounts \ /org/freedesktop/Accounts \ org.freedesktop.Accounts.ListCachedUsers
method return sender=:1.5 -> dest=:1.172 reply_serial=2 array [ object path "/org/freedesktop/Accounts/User1000" object path "/org/freedesktop/Accounts/User1001" ] [adamw@vaioz ~]$ dbus-send --system --type=method_call --print-reply \
--dest=org.freedesktop.Accounts \ /org/freedesktop/Accounts \ org.freedesktop.Accounts.ListCachedUsers
method return sender=:1.6 -> dest=:1.201 reply_serial=2 array [ object path "/org/freedesktop/Accounts/User1003" object path "/org/freedesktop/Accounts/User1001" ] [adamw@adam data]$ dbus-send --system --type=method_call --print-reply \
--dest=org.freedesktop.Accounts \ /org/freedesktop/Accounts \ org.freedesktop.Accounts.ListCachedUsers
method return sender=:1.9 -> dest=:1.322 reply_serial=2 array [ object path "/org/freedesktop/Accounts/User157400001" object path "/org/freedesktop/Accounts/User1001" ]
but on none of the three does the account ever seem to show up in GDM's list. This isn't https://bugzilla.redhat.com/show_bug.cgi?id=958537 / https://bugs.freedesktop.org/show_bug.cgi?id=64186 - that one resulted in the account not showing up in the cached list, and anyway, F20 and F21 should have accountsservice packages with the fix for that bug included.
On one of the systems, the account was marked as a system account in /var/lib/AccountsService/users/adamw , but on the other two it wasn't, so I don't think that's the problem either. (I've fixed the one where it was marked as such).