ports/print/cups/patches/patch-scheduler_auth_c

13 lines
384 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: scheduler/auth.c
--- scheduler/auth.c.orig
+++ scheduler/auth.c
@@ -641,7 +641,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)