search for: monitor_req_krb5

Displaying 4 results from an estimated 4 matches for "monitor_req_krb5".

2002 Jul 31
2
privsep+kerb5+ssh1
...ffer *); #endif +#ifdef KRB5 +int mm_answer_krb5(int, Buffer *); +#endif + static Authctxt *authctxt; static BIGNUM *ssh1_challenge = NULL; /* used for ssh1 rsa auth */ @@ -201,6 +205,9 @@ #ifdef USE_PAM {MONITOR_REQ_PAM_START, MON_ONCE, mm_answer_pam_start}, #endif +#ifdef KRB5 + {MONITOR_REQ_KRB5, MON_ONCE|MON_AUTH, mm_answer_krb5}, +#endif {0, 0, NULL} }; @@ -1333,6 +1340,42 @@ return (success); } + +#ifdef KRB5 +int +mm_answer_krb5(int socket, Buffer *m) +{ + krb5_data tkt, reply; + char *client_user; + unsigned int len; + int success; + + /* use temporary var to avoid size i...
2002 Dec 21
6
[PATCH] PAM chauthtok + Privsep
...=================================================================== 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 +52,7 @@ MONITOR_REQ_KRB4, MONITOR_ANS_KRB4, MONITOR_REQ_KRB5, MONITOR_ANS_KRB5, MONITOR_REQ_PAM_START, + MONITOR_REQ_PAM_CHAUTHTOK, MONITOR_ANS_PAM_CHAUTHTOK, MONITOR_REQ_TERM }; Index: monitor_wrap.c =================================================================== RCS file: /cvs/openssh/monitor_wrap.c,v retrieving revision 1.20 diff -u -r1.20 moni...
2002 Dec 10
5
[PATCH] Password expiry with Privsep and PAM
...================================================================= 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,6 +52,7 @@ MONITOR_REQ_KRB4, MONITOR_ANS_KRB4, MONITOR_REQ_KRB5, MONITOR_ANS_KRB5, MONITOR_REQ_PAM_START, + MONITOR_REQ_PAM_CHAUTHTOK, MONITOR_ANS_PAM_CHAUTHTOK, MONITOR_REQ_TERM }; Index: monitor_wrap.c =================================================================== RCS file: /cvs/openssh/monitor_wrap.c,v retrieving revision 1.20 diff -u -u -r1.20 m...
2003 Aug 10
9
updated gssapi diff
...#endif +#ifdef GSSAPI +int mm_answer_gss_setup_ctx(int, Buffer *); +int mm_answer_gss_accept_ctx(int, Buffer *); +int mm_answer_gss_userok(int, Buffer *); +#endif static Authctxt *authctxt; static BIGNUM *ssh1_challenge = NULL; /* used for ssh1 rsa auth */ @@ -168,6 +178,11 @@ #ifdef KRB5 {MONITOR_REQ_KRB5, MON_ONCE|MON_AUTH, mm_answer_krb5}, #endif +#ifdef GSSAPI + {MONITOR_REQ_GSSSETUP, MON_ISAUTH, mm_answer_gss_setup_ctx}, + {MONITOR_REQ_GSSSTEP, MON_ISAUTH, mm_answer_gss_accept_ctx}, + {MONITOR_REQ_GSSUSEROK, MON_AUTH, mm_answer_gss_userok}, +#endif {0, 0, NULL} }; @@ -320,7 +335...