diff options
author | Ray Strode <rstrode@redhat.com> | 2013-05-20 14:12:52 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2013-05-20 19:49:12 -0400 |
commit | f04d749f9f03c7320ff8034e6eefa66826ccc1da (patch) | |
tree | 0d7d70142299af2f51d764fcc58ab4841693be00 | |
parent | 69632f1e2f2c7e424c182b70eaa8febcbcce849b (diff) | |
download | accountsservice-f04d749f9f03c7320ff8034e6eefa66826ccc1da.tar.gz |
daemon: don't exclude system users
This client already handles filtering system users
from the cached user list, so there's no point in doing it
daemon side.
Furthermore, it's harmful since then clients never get informed
when a user account type changes from a system account to a user
account.
Let the client do the filtering.
https://bugs.freedesktop.org/show_bug.cgi?id=64769
-rw-r--r-- | src/daemon.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/daemon.c b/src/daemon.c index 264434e..5087145 100644 --- a/src/daemon.c +++ b/src/daemon.c @@ -1049,11 +1049,6 @@ finish_list_cached_users (gpointer user_data) uid = user_get_uid (user); shell = user_get_shell (user); - if (user_get_system_account (user)) { - g_debug ("user %s %ld is system account, so excluded", name, (long) uid); - continue; - } - if (daemon_local_user_is_excluded (data->daemon, name, shell, NULL)) { g_debug ("user %s %ld excluded", name, (long) uid); continue; |