patch-scheduler_auth_c 479 B

12345678910111213
  1. $OpenBSD: patch-scheduler_auth_c,v 1.7 2016/09/19 09:16:51 ajacoutot Exp $
  2. --- scheduler/auth.c.orig Wed Sep 14 01:39:47 2016
  3. +++ scheduler/auth.c Sat Sep 17 15:26:03 2016
  4. @@ -649,7 +649,7 @@ cupsdAuthorize(cupsd_client_t *con) /* I - Client conn
  5. # endif /* HAVE_SHADOW_H */
  6. - pw = getpwnam(username); /* Get the current password */
  7. + pw = getpwnam_shadow(username); /* Get the current password */
  8. endpwent(); /* Close the password file */
  9. if (!pw)