Lines 187-193
Link Here
|
187 |
const char *uname; |
187 |
const char *uname; |
188 |
int retval, daysleft; |
188 |
int retval, daysleft; |
189 |
time_t curdays; |
189 |
time_t curdays; |
190 |
struct spwd *spent; |
190 |
struct spwd *spent=NULL; // set spent to NULL by default |
191 |
struct passwd *pwent; |
191 |
struct passwd *pwent; |
192 |
char buf[80]; |
192 |
char buf[80]; |
193 |
|
193 |
|
Lines 239-246
Link Here
|
239 |
|
239 |
|
240 |
} else if (_unix_shadowed (pwent)) |
240 |
} else if (_unix_shadowed (pwent)) |
241 |
spent = _pammodutil_getspnam (pamh, uname); |
241 |
spent = _pammodutil_getspnam (pamh, uname); |
|
|
242 |
/*** |
243 |
**** if unix_shadow record not found, continue testing ( no success return ) |
242 |
else |
244 |
else |
243 |
return PAM_SUCCESS; |
245 |
return PAM_SUCCESS; |
|
|
246 |
***/ |
244 |
|
247 |
|
245 |
if (!spent && SELINUX_ENABLED ) |
248 |
if (!spent && SELINUX_ENABLED ) |
246 |
spent = _unix_run_verify_binary(pamh, ctrl, uname); |
249 |
spent = _unix_run_verify_binary(pamh, ctrl, uname); |