$NetBSD: patch-ac,v 1.2 2006/09/15 15:19:55 jmmv Exp $

--- src/gs-auth-pam.c.orig	2006-06-08 22:23:40.000000000 +0200
+++ src/gs-auth-pam.c
@@ -204,7 +204,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
                         }
                 }
         }
