$OpenBSD: patch-scheduler_auth_c,v 1.12 2019/08/25 09:59:18 ajacoutot Exp $

Index: scheduler/auth.c
--- scheduler/auth.c.orig
+++ scheduler/auth.c
@@ -636,7 +636,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)
