Lines Matching refs:status

48     krb5_error_code status;  in proto()  local
65 status = krb5_init_context(&context); in proto()
66 if (status) in proto()
67 errx(1, "krb5_init_context failed: %d", status); in proto()
69 status = krb5_cc_default (context, &ccache); in proto()
70 if (status) in proto()
71 krb5_err(context, 1, status, "krb5_cc_default"); in proto()
73 status = krb5_auth_con_init (context, &auth_context); in proto()
74 if (status) in proto()
75 krb5_err(context, 1, status, "krb5_auth_con_init"); in proto()
85 status = krb5_auth_con_setaddrs (context, in proto()
89 if (status) in proto()
90 krb5_err(context, 1, status, "krb5_auth_con_setaddr"); in proto()
94 status = krb5_cc_get_principal(context, ccache, &client); in proto()
95 if(status) in proto()
96 krb5_err(context, 1, status, "krb5_cc_get_principal"); in proto()
97 status = krb5_make_principal(context, &mcred.server, in proto()
102 if(status) in proto()
103 krb5_err(context, 1, status, "krb5_make_principal"); in proto()
106 status = krb5_cc_retrieve_cred(context, ccache, 0, &mcred, &cred); in proto()
107 if(status) in proto()
108 krb5_err(context, 1, status, "krb5_cc_retrieve_cred"); in proto()
113 status = krb5_unparse_name(context, cred.client, &client_name); in proto()
114 if(status) in proto()
115 krb5_err(context, 1, status, "krb5_unparse_name"); in proto()
118 status = krb5_write_message(context, &sock, &data); in proto()
119 if(status) in proto()
120 krb5_err(context, 1, status, "krb5_write_message"); in proto()
124 status = krb5_write_message(context, &sock, &cred.ticket); in proto()
125 if(status) in proto()
126 krb5_err(context, 1, status, "krb5_write_message"); in proto()
128 status = krb5_auth_con_setuserkey(context, auth_context, &cred.session); in proto()
129 if(status) in proto()
130 krb5_err(context, 1, status, "krb5_auth_con_setuserkey"); in proto()
132 status = krb5_recvauth(context, &auth_context, &sock, in proto()
135 if (status) in proto()
136 krb5_err(context, 1, status, "krb5_recvauth"); in proto()
157 status = krb5_mk_safe (context, in proto()
162 if (status) in proto()
163 krb5_err(context, 1, status, "krb5_mk_safe"); in proto()
165 status = krb5_write_message(context, &sock, &packet); in proto()
166 if(status) in proto()
167 krb5_err(context, 1, status, "krb5_write_message"); in proto()
174 status = krb5_mk_priv (context, in proto()
179 if (status) in proto()
180 krb5_err(context, 1, status, "krb5_mk_priv"); in proto()
182 status = krb5_write_message(context, &sock, &packet); in proto()
183 if(status) in proto()
184 krb5_err(context, 1, status, "krb5_write_message"); in proto()