Lines Matching defs:gret

141 	OM_uint32 gret, minor, lifetime;
148 gret = gss_inquire_cred(&minor, cred, &gname, &lifetime, &usage, NULL);
149 if (gret != GSS_S_COMPLETE) {
151 gss_error_tostring(gret, minor, buf, sizeof(buf)));
155 gret = gss_display_name(&minor, gname, &gbuffer, NULL);
156 if (gret != GSS_S_COMPLETE)
158 gss_error_tostring(gret, minor, buf, sizeof(buf)));
177 if (gret == GSS_S_COMPLETE) {
179 gret = gss_release_buffer(&minor, &gbuffer);
180 if (gret != GSS_S_COMPLETE)
182 gss_error_tostring(gret, minor, buf,
187 gret = gss_release_name(&minor, &gname);
188 if (gret != GSS_S_COMPLETE)
190 gss_error_tostring(gret, minor, buf, sizeof(buf)));
255 OM_uint32 gret, minor;
274 gret = gss_import_name(&minor, &gnamebuf,
276 if (gret != GSS_S_COMPLETE) {
280 gss_error_tostring(gret, minor, buf,
301 gret = gss_acquire_cred(&minor, gname, GSS_C_INDEFINITE,
304 if (gret != GSS_S_COMPLETE) {
308 gss_error_tostring(gret, minor, buf, sizeof(buf)));
324 gret = gss_release_name(&minor, &gname);
325 if (gret != GSS_S_COMPLETE)
327 gss_error_tostring(gret, minor, buf,
510 OM_uint32 gret, minor;
515 gret = gss_release_cred(&minor, cred);
516 if (gret != GSS_S_COMPLETE) {
519 gss_error_tostring(gret, minor, buf, sizeof(buf)));
564 OM_uint32 gret, minor, ret_flags, flags;
578 gret = gss_import_name(&minor, &gnamebuf, GSS_C_NO_OID, &gname);
579 if (gret != GSS_S_COMPLETE) {
580 gss_err_message(mctx, gret, minor, err_message);
599 gret = gss_init_sec_context(&minor, GSS_C_NO_CREDENTIAL, gssctx,
604 if (gret != GSS_S_COMPLETE && gret != GSS_S_CONTINUE_NEEDED) {
605 gss_err_message(mctx, gret, minor, err_message);
629 if (gret == GSS_S_COMPLETE)
663 OM_uint32 gret, minor;
680 gret = gsskrb5_register_acceptor_identity(gssapi_keytab);
681 if (gret != GSS_S_COMPLETE) {
685 gss_error_tostring(gret, 0, buf, sizeof(buf)));
711 gret = gss_accept_sec_context(&minor, &context, cred, &gintoken,
717 switch (gret) {
736 gss_error_tostring(gret, minor, buf, sizeof(buf)));
748 if (gret == GSS_S_COMPLETE) {
749 gret = gss_display_name(&minor, gname, &gnamebuf, NULL);
750 if (gret != GSS_S_COMPLETE) {
752 gss_error_tostring(gret, minor,
778 gret = gss_release_buffer(&minor, &gnamebuf);
779 if (gret != GSS_S_COMPLETE)
781 gss_error_tostring(gret, minor, buf,
791 gret = gss_release_name(&minor, &gname);
792 if (gret != GSS_S_COMPLETE)
794 gss_error_tostring(gret, minor, buf,
816 OM_uint32 gret, minor;
824 gret = gss_delete_sec_context(&minor, gssctx, GSS_C_NO_BUFFER);
825 if (gret != GSS_S_COMPLETE) {
828 gss_error_tostring(gret, minor, buf, sizeof(buf)));