From 0d1ec1fa48db64f0ec6d85ea0b4cc7c709c7361d Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Thu, 13 Jun 2013 22:36:40 +0200 Subject: gssapi: Add user parameter to gssapi auth callback Reviewed-by: Andreas Schneider --- src/gssapi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/gssapi.c b/src/gssapi.c index 4be2a682..e2489dc6 100644 --- a/src/gssapi.c +++ b/src/gssapi.c @@ -424,7 +424,8 @@ SSH_PACKET_CALLBACK(ssh_packet_userauth_gssapi_mic){ if (ssh_callbacks_exists(session->server_callbacks, auth_gssapi_mic_function)){ switch(session->server_callbacks->auth_gssapi_mic_function(session, - session->gssapi->canonic_user, session->server_callbacks->userdata)){ + session->gssapi->user, session->gssapi->canonic_user, + session->server_callbacks->userdata)){ case SSH_AUTH_SUCCESS: ssh_auth_reply_success(session, 0); break; -- cgit