Lines Matching refs:ret
123 int ret;
158 ret = telnet_net_write(p0, len);
160 return ret;
166 krb5_error_code ret;
168 ret = krb5_init_context(&context);
169 if (ret)
175 ret = krb5_kt_default(context, &kt);
176 if (ret)
179 ret = krb5_kt_start_seq_get (context, kt, &cursor);
180 if (ret) {
197 krb5_error_code ret;
210 ret = krb5_cc_default(context, &ccache);
211 if (ret) {
214 krb5_get_err_text (context, ret));
226 ret = krb5_auth_con_init (context, &auth_context);
227 if (ret) {
230 krb5_get_err_text(context, ret));
235 ret = krb5_auth_con_setaddrs_from_fd (context,
238 if (ret) {
242 krb5_get_err_text(context, ret));
261 ret = krb5_sname_to_principal (context,
266 if(ret) {
270 RemoteHostName, krb5_get_err_text(context, ret));
274 ret = krb5_unparse_name_fixed(context, service, sname, sizeof(sname));
275 if(ret) {
279 krb5_get_err_text(context, ret));
284 ret = krb5_mk_req_exact(context, &auth_context, ap_opts,
290 if (ret) {
293 krb5_get_err_text(context, ret));
345 krb5_error_code ret;
361 ret = krb5_auth_con_init (context, &auth_context);
362 if (ret) {
366 krb5_get_err_text(context, ret));
370 ret = krb5_auth_con_setaddrs_from_fd (context,
373 if (ret) {
378 krb5_get_err_text(context, ret));
382 ret = krb5_sock_to_principal (context,
387 if (ret) {
392 krb5_get_err_text(context, ret));
396 ret = krb5_rd_req(context,
405 if (ret) {
412 krb5_get_err_text(context, ret));
428 ret = krb5_verify_authenticator_checksum(context,
433 if (ret) {
439 krb5_get_err_text(context, ret));
449 ret = krb5_auth_con_getremotesubkey (context,
453 if (ret) {
458 krb5_get_err_text(context, ret));
463 ret = krb5_auth_con_getkey(context,
467 if (ret) {
472 krb5_get_err_text(context, ret));
484 ret = krb5_mk_rep(context, auth_context, &outbuf);
485 if (ret) {
491 krb5_get_err_text(context, ret));
524 ret = asprintf (&msg, "user `%s' is not authorized to "
528 if (ret != -1)
531 if (ret != -1)
556 ret = krb5_cc_resolve (context, ccname, &ccache);
557 if (ret) {
559 krb5_get_err_text(context, ret));
563 ret = krb5_cc_initialize (context,
566 if (ret) {
568 krb5_get_err_text(context, ret));
575 ret = krb5_rd_cred2 (context,
579 if(ret) {
586 krb5_get_err_text (context, ret));
628 krb5_error_code ret;
643 ret = krb5_auth_con_getlocalsubkey (context,
646 if (ret)
647 ret = krb5_auth_con_getkey (context,
650 if(ret) {
652 krb5_get_err_text(context, ret));
672 krb5_error_code ret;
677 ret = krb5_rd_rep(context, auth_context, &inbuf, &reply);
678 if (ret) {
680 krb5_get_err_text (context, ret));
789 krb5_error_code ret;
796 ret = krb5_cc_default (context, &ccache);
797 if (ret) {
800 krb5_get_err_text (context, ret));
804 ret = krb5_cc_get_principal (context, ccache, &principal);
805 if (ret) {
808 krb5_get_err_text (context, ret));
816 ret = krb5_make_principal(context,
823 if (ret) {
826 krb5_get_err_text (context, ret));
837 ret = krb5_get_forwarded_creds (context,
844 if (ret) {
847 krb5_get_err_text (context, ret));