summaryrefslogtreecommitdiff
path: root/src/util/sss_selinux.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-09-10 18:24:41 -0400
committerJakub Hrozek <jhrozek@redhat.com>2013-09-16 15:48:34 +0200
commitb49a7d90708e816120ff88ce5a88fa62b35ff795 (patch)
tree798ae2d5998a37a7efd7420cad9a483b76ef973c /src/util/sss_selinux.c
parent6d2942eb10f5fc4f791498d7f6c2ef021c3b8777 (diff)
downloadsssd-b49a7d90708e816120ff88ce5a88fa62b35ff795.tar.gz
sssd-b49a7d90708e816120ff88ce5a88fa62b35ff795.tar.bz2
sssd-b49a7d90708e816120ff88ce5a88fa62b35ff795.zip
util: Use systemd-login to check user sessions
Use systemd-lgin in preference to check if the user is logged in or not. Fall back to the old method if no systemd-login support is available at compile time or if it returns a fatal error, and can't determine the status of the user on its own. This will allow to consider a user really active (in order to reuse or refresh crdentials) only if it really is logged into the system, and not just if one of the user's processes is stuck around. Resolves: https://fedorahosted.org/sssd/ticket/2084
Diffstat (limited to 'src/util/sss_selinux.c')
0 files changed, 0 insertions, 0 deletions