$OpenBSD: patch-conserver_group_c,v 1.8 2018/05/29 13:54:05 sthen Exp $
Index: conserver/group.c
--- conserver/group.c.orig
+++ conserver/group.c
@@ -752,7 +752,7 @@ CheckPass(char *pcUser, char *pcWord, FLAG empty_check
     struct spwd *spwd;
 # endif
 
-    if ((pwd = getpwnam(pcUser)) == (struct passwd *)0) {
+    if ((pwd = getpwnam_shadow(pcUser)) == (struct passwd *)0) {
 	CONDDEBUG((1, "CheckPass(): getpwnam(%s): %s", pcUser,
 		   strerror(errno)));
 	retval = AUTH_NOUSER;
