27#include <gssapi/gssapi.h>
32typedef struct ssh_gssapi_struct *ssh_gssapi;
39enum ssh_gssapi_state_e {
40 SSH_GSSAPI_STATE_NONE,
41 SSH_GSSAPI_STATE_RCV_TOKEN,
42 SSH_GSSAPI_STATE_RCV_MIC,
45struct ssh_gssapi_struct{
46 enum ssh_gssapi_state_e state;
47 struct gss_OID_desc_struct mech;
48 gss_cred_id_t server_creds;
49 gss_cred_id_t client_creds;
51 gss_name_t client_name;
56 gss_name_t server_name;
60 gss_cred_id_t client_deleg_creds;
65int ssh_gssapi_handle_userauth(ssh_session session,
const char *user, uint32_t n_oid, ssh_string *oids);
75int ssh_gssapi_init(ssh_session session);
76void ssh_gssapi_log_error(
int verb,
const char *msg_a,
int maj_stat,
int min_stat);
77int ssh_gssapi_auth_mic(ssh_session session);
78void ssh_gssapi_free(ssh_session session);
79char *ssh_gssapi_name_to_char(gss_name_t name);
#define SSH_PACKET_CALLBACK(name)
This macro declares a packet callback handler.
Definition callbacks.h:560