Re: [SSSD] [PATCH] Use systemd-login session information to check if user is logged in

2013-09-16 Thread Jakub Hrozek
On Fri, Sep 13, 2013 at 12:42:46PM -0400, Simo Sorce wrote: > On Fri, 2013-09-13 at 17:14 +0200, Jakub Hrozek wrote: > > On Thu, Sep 12, 2013 at 07:10:38PM +0200, Jakub Hrozek wrote: > > > On Wed, Sep 11, 2013 at 05:47:31PM -0400, Simo Sorce wrote: > > > > On Wed, 2013-09-11 at 19:19 +0200, Jakub H

Re: [SSSD] [PATCH] Use systemd-login session information to check if user is logged in

2013-09-13 Thread Simo Sorce
On Fri, 2013-09-13 at 17:14 +0200, Jakub Hrozek wrote: > On Thu, Sep 12, 2013 at 07:10:38PM +0200, Jakub Hrozek wrote: > > On Wed, Sep 11, 2013 at 05:47:31PM -0400, Simo Sorce wrote: > > > On Wed, 2013-09-11 at 19:19 +0200, Jakub Hrozek wrote: > > > > On Wed, Sep 11, 2013 at 10:26:41AM -0400, Simo

Re: [SSSD] [PATCH] Use systemd-login session information to check if user is logged in

2013-09-13 Thread Jakub Hrozek
On Thu, Sep 12, 2013 at 07:10:38PM +0200, Jakub Hrozek wrote: > On Wed, Sep 11, 2013 at 05:47:31PM -0400, Simo Sorce wrote: > > On Wed, 2013-09-11 at 19:19 +0200, Jakub Hrozek wrote: > > > On Wed, Sep 11, 2013 at 10:26:41AM -0400, Simo Sorce wrote: > > > > This patch was meant to remove the trollin

Re: [SSSD] [PATCH] Use systemd-login session information to check if user is logged in

2013-09-12 Thread Jakub Hrozek
On Wed, Sep 11, 2013 at 05:47:31PM -0400, Simo Sorce wrote: > On Wed, 2013-09-11 at 19:19 +0200, Jakub Hrozek wrote: > > On Wed, Sep 11, 2013 at 10:26:41AM -0400, Simo Sorce wrote: > > > This patch was meant to remove the trolling of /proc for uids but I > > > haven't got there yet. > > > I meant t

Re: [SSSD] [PATCH] Use systemd-login session information to check if user is logged in

2013-09-11 Thread Simo Sorce
On Wed, 2013-09-11 at 19:19 +0200, Jakub Hrozek wrote: > On Wed, Sep 11, 2013 at 10:26:41AM -0400, Simo Sorce wrote: > > This patch was meant to remove the trolling of /proc for uids but I > > haven't got there yet. > > I meant to use utmp as a fallback but I realized utmp does not deal with > > ui

Re: [SSSD] [PATCH] Use systemd-login session information to check if user is logged in

2013-09-11 Thread Jakub Hrozek
On Wed, Sep 11, 2013 at 10:26:41AM -0400, Simo Sorce wrote: > This patch was meant to remove the trolling of /proc for uids but I > haven't got there yet. > I meant to use utmp as a fallback but I realized utmp does not deal with > uid numbers rather usernames, and I need to think if it makes sense

[SSSD] [PATCH] Use systemd-login session information to check if user is logged in

2013-09-11 Thread Simo Sorce
This patch was meant to remove the trolling of /proc for uids but I haven't got there yet. I meant to use utmp as a fallback but I realized utmp does not deal with uid numbers rather usernames, and I need to think if it makes sense to go that way as it may be hairy when we use subdomains as now I n