mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
13 lines
415 B
Plaintext
13 lines
415 B
Plaintext
Index: conserver/group.c
|
|
--- conserver/group.c.orig
|
|
+++ conserver/group.c
|
|
@@ -753,7 +753,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;
|