Re: [dev] [slock] PAM support

From: Jan Christoph Ebersbach <jceb_AT_e-jc.de>
Date: Mon, 16 May 2016 21:51:08 +0200

On Mon 16-05-2016 11:47 -0700, Eric Pruitt wrote:

> On Mon, May 16, 2016 at 08:07:54PM +0200, Jan Christoph Ebersbach
> wrote:
> > I guess this issue can still happen. I didn't remove most of the
> > getpw* code in order to keep the patch small. I'm using sssd and so
> > the getpw calls still work. The only issue is that the password
> > hash can't be retrieved. This problem I solved with this patch by
> > passing everything through PAM.
>
> On the system I'm using that relies on PAM, my account doesn't have an
> entry in the local /etc/passwd file. Disabling getpw and related bits
> makes the patch work for me.

I fixed the issue and moved the getpw code to an ifdef.

Jan Christoph
--
Jan Christoph Ebersbach
I didn’t want some petty, inferior brand of righteousness that comes
from keeping a list of rules when I could get the robust kind that comes
from trusting Christ - God’s righteousness.  Phil 3:9

Received on Mon May 16 2016 - 21:51:08 CEST

This archive was generated by hypermail 2.3.0 : Mon May 16 2016 - 22:00:12 CEST