Searched refs:get_cred (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/common/
H A Dkcmd.c94 krb5_creds *get_cred = NULL; local
148 if (!(get_cred = (krb5_creds *)calloc(1, sizeof (krb5_creds)))) {
157 KRB5_NT_SRV_HST, &get_cred->server);
169 krb5_princ_realm(bsd_context, get_cred->server)->data);
170 krb5_princ_set_realm_length(bsd_context, get_cred->server,
172 krb5_princ_set_realm_data(bsd_context, get_cred->server,
275 status = krb5_cc_get_principal(bsd_context, cc, &get_cred->client);
282 status = krb5_get_credentials(bsd_context, 0, cc, get_cred, &ret_cred);
430 if (get_cred)
431 krb5_free_creds(bsd_context, get_cred);
[all...]

Completed in 44 milliseconds