openbsd-ports/print/cups/patches/patch-scheduler_auth_c
2022-03-11 19:50:56 +00:00

13 lines
378 B
Plaintext

Index: scheduler/auth.c
--- scheduler/auth.c.orig
+++ scheduler/auth.c
@@ -644,7 +644,7 @@ cupsdAuthorize(cupsd_client_t *con) /* I - Client conn
# endif /* HAVE_SHADOW_H */
- pw = getpwnam(username); /* Get the current password */
+ pw = getpwnam_shadow(username); /* Get the current password */
endpwent(); /* Close the password file */
if (!pw)