Lines Matching refs:gssapi_client

52 static ssh_gssapi_client gssapi_client =  variable
203 if (ssh_gssapi_getclient(ctx, &gssapi_client)) in ssh_gssapi_accept_ctx()
322 if (gssapi_client.store.filename != NULL) { in ssh_gssapi_cleanup_creds()
325 gssapi_client.store.filename); in ssh_gssapi_cleanup_creds()
326 unlink(gssapi_client.store.filename); in ssh_gssapi_cleanup_creds()
334 if (gssapi_client.mech && gssapi_client.mech->storecreds) { in ssh_gssapi_storecreds()
335 (*gssapi_client.mech->storecreds)(&gssapi_client); in ssh_gssapi_storecreds()
348 if (gssapi_client.store.envvar != NULL && in ssh_gssapi_do_child()
349 gssapi_client.store.envval != NULL) { in ssh_gssapi_do_child()
350 debug("Setting %s to %s", gssapi_client.store.envvar, in ssh_gssapi_do_child()
351 gssapi_client.store.envval); in ssh_gssapi_do_child()
352 child_set_env(envp, envsizep, gssapi_client.store.envvar, in ssh_gssapi_do_child()
353 gssapi_client.store.envval); in ssh_gssapi_do_child()
363 if (gssapi_client.exportedname.length == 0 || in ssh_gssapi_userok()
364 gssapi_client.exportedname.value == NULL) { in ssh_gssapi_userok()
368 if (gssapi_client.mech && gssapi_client.mech->userok) in ssh_gssapi_userok()
369 if ((*gssapi_client.mech->userok)(&gssapi_client, user)) in ssh_gssapi_userok()
373 gss_release_buffer(&lmin, &gssapi_client.displayname); in ssh_gssapi_userok()
374 gss_release_buffer(&lmin, &gssapi_client.exportedname); in ssh_gssapi_userok()
375 gss_release_cred(&lmin, &gssapi_client.creds); in ssh_gssapi_userok()
376 explicit_bzero(&gssapi_client, in ssh_gssapi_userok()
398 if (gssapi_client.displayname.length == 0 || in ssh_gssapi_displayname()
399 gssapi_client.displayname.value == NULL) in ssh_gssapi_displayname()
401 return (char *)gssapi_client.displayname.value; in ssh_gssapi_displayname()