12 lines
325 B
Text
12 lines
325 B
Text
|
--- openpoppassd.c.orig Mon Jul 11 13:55:29 2016
|
||
|
+++ openpoppassd.c Mon Jul 11 14:03:47 2016
|
||
|
@@ -192,7 +192,7 @@ change_pw(char* user, char* oldpass, char* newpass, ch
|
||
|
|
||
|
log_debug("change_pw: '%s'", user);
|
||
|
|
||
|
- if ((pw = getpwnam(user)) == NULL)
|
||
|
+ if ((pw = getpwnam_shadow(user)) == NULL)
|
||
|
{
|
||
|
return MSG_AUTH_WRONG;
|
||
|
}
|