blob: acc9c0ba0907889845a5f702d14c4b9f64634a03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-ac,v 1.3 2007/01/08 21:48:40 drochner Exp $
--- src/gs-auth-pam.c.orig 2006-11-09 17:17:35.000000000 +0100
+++ src/gs-auth-pam.c
@@ -226,7 +226,11 @@ pam_conversation (int
if (res) {
reply [replies].resp_retcode = PAM_SUCCESS;
} else {
+#if defined(PAM_INCOMPLETE)
reply [replies].resp_retcode = PAM_INCOMPLETE;
+#else
+ reply [replies].resp_retcode = PAM_SERVICE_ERR;
+#endif
}
}
|