Displaying 3 results from an estimated 3 matches for "monitor_ans_pam_chauthtok".
2002 Dec 21
6
[PATCH] PAM chauthtok + Privsep
...close(ttyfd);
+
+ if (waitpid(pid, &status, 0) == -1)
+ fatal("Couldn't wait for child: %s", strerror(errno));
+
+ if (WEXITSTATUS(status))
+ fatal("do_pam_chauthtok() failed, child returned %d", status);
+
+ mysignal(SIGCHLD, old_signal);
+
+ mm_request_send(socket, MONITOR_ANS_PAM_CHAUTHTOK, m);
+
+ return 1;
}
#endif
Index: monitor.h
===================================================================
RCS file: /cvs/openssh/monitor.h,v
retrieving revision 1.10
diff -u -r1.10 monitor.h
--- monitor.h 27 Sep 2002 03:26:02 -0000 1.10
+++ monitor.h 21 Dec 2002 11:39:06 -0000
@@ -52,6 +...
2002 Dec 10
5
[PATCH] Password expiry with Privsep and PAM
...close(ttyfd);
+
+ if (waitpid(pid, &status, 0) == -1)
+ fatal("Couldn't wait for child: %s", strerror(errno));
+
+ if (WEXITSTATUS(status))
+ fatal("do_pam_chauthtok() failed, child returned %d", status);
+
+ mysignal(SIGCHLD, old_signal);
+
+ mm_request_send(socket, MONITOR_ANS_PAM_CHAUTHTOK, m);
+
+ return 1;
}
#endif
Index: monitor.h
===================================================================
RCS file: /cvs/openssh/monitor.h,v
retrieving revision 1.10
diff -u -u -r1.10 monitor.h
--- monitor.h 27 Sep 2002 03:26:02 -0000 1.10
+++ monitor.h 10 Dec 2002 12:34:11 -0000
@@ -52,...
2002 Jul 31
2
privsep+kerb5+ssh1
...ss;
+}
+#endif
+
int
mm_answer_term(int socket, Buffer *req)
{
--- openssh-3.4p1/monitor.h.krb Tue Jul 23 15:15:43 2002
+++ openssh-3.4p1/monitor.h Tue Jul 23 15:15:43 2002
@@ -51,6 +51,7 @@
MONITOR_REQ_RSARESPONSE, MONITOR_ANS_RSARESPONSE,
MONITOR_REQ_PAM_START,
MONITOR_REQ_PAM_CHAUTHTOK, MONITOR_ANS_PAM_CHAUTHTOK,
+ MONITOR_REQ_KRB5, MONITOR_ANS_KRB5,
MONITOR_REQ_TERM
};
--- openssh-3.4p1/monitor_wrap.c.krb Tue Jul 23 15:15:43 2002
+++ openssh-3.4p1/monitor_wrap.c Tue Jul 23 15:18:23 2002
@@ -1040,3 +1040,38 @@
return (success);
}
+
+#ifdef KRB5
+int
+mm_auth_krb5(void *ctx, void *argp, char **use...