Re: [dev] [slock] Issue with shadow passwords and NIS

2012-04-15 Thread Anselm R Garbe
On 7 April 2012 05:45, Ben Secrest wrote: > I'm not sure the best way to differentiate between the shadow vs. NIS > situation.  One guess is that when shadow information is present, the > pw_passwd field of the passwd struct will contain 'x', '*', or > whatever the system uses as a placeholder in

Re: [dev] [slock] Issue with shadow passwords and NIS

2012-04-11 Thread Petr Šabata
On Sun, Apr 08, 2012 at 11:56:01PM +, Bjartur Thorlacius wrote: > On 4/7/12, Ben Secrest wrote: > > I'm not sure the best way to differentiate between the shadow vs. NIS > > situation. One guess is that when shadow information is present, the > > pw_passwd field of the passwd struct will cont

Re: [dev] [slock] Issue with shadow passwords and NIS

2012-04-08 Thread Kurt H Maier
On Sun, Apr 08, 2012 at 11:56:01PM +, Bjartur Thorlacius wrote: > Slock should use a high-level authentication interface that will > perform whatever authentication the site administrator requires. How > much does this list hate or love PAM? PAM can get stuffed, but there's no reason slock can

Re: [dev] [slock] Issue with shadow passwords and NIS

2012-04-08 Thread Bjartur Thorlacius
On 4/7/12, Ben Secrest wrote: > I'm not sure the best way to differentiate between the shadow vs. NIS > situation. One guess is that when shadow information is present, the > pw_passwd field of the passwd struct will contain 'x', '*', or > whatever the system uses as a placeholder in /etc/passwd.

[dev] [slock] Issue with shadow passwords and NIS

2012-04-06 Thread Ben Secrest
I've run into an issue with slock on a system with both local and remote users. The default config works with the local users because the getpw() function queries password information though NSS and then the shadow system. In the case of remote users, the appropriate information is retrieved from N