Lines Matching defs:in_creds

41  client identified by in_creds->client, the server identified by
42 in_creds->server, with options options, expiration date specified in
43 in_creds->times.endtime (0 means as long as possible), session key type
44 specified in in_creds->keyblock.enctype (if non-zero)
57 krb5_creds *in_creds, krb5_creds *mcreds,
63 if (!in_creds || !in_creds->server || !in_creds->client)
76 * Hence, endtime below is set to "now" if in_creds->times.endtime
78 * if necessary. But, if in_creds has a non-zero endtime, we honor it.
80 if (in_creds->times.endtime != 0)
81 mcreds->times.endtime = in_creds->times.endtime;
86 ret = krb5_copy_keyblock_contents(context, &in_creds->keyblock,
91 mcreds->authdata = in_creds->authdata;
92 mcreds->server = in_creds->server;
93 mcreds->client = in_creds->client;
120 mcreds->second_ticket = in_creds->second_ticket;
121 if (!in_creds->second_ticket.length) {
132 krb5_ccache ccache, krb5_creds *in_creds,
143 in_creds,
156 /* The caller is now responsible for cleaning up in_creds */
161 ncreds = in_creds;
227 krb5_ccache ccache, krb5_creds *in_creds,
237 in_creds, out_creds, &tgts);
241 in_creds, out_creds, &tgts);
268 krb5_ccache ccache, krb5_creds *in_creds,
272 in_creds, out_creds,
278 krb5_ccache ccache, krb5_creds *in_creds,
283 in_creds, out_creds,
293 krb5_creds in_creds; /* only client and server need to be filled in */
297 memset((char *)&in_creds, 0, sizeof(krb5_creds));
299 in_creds.server = NULL;
302 in_creds.client = client;
309 if ((ret = krb5_parse_name(context, in_tkt_service, &in_creds.server)))
314 if (in_creds.server->realm.length < in_creds.client->realm.length)
315 if ((in_creds.server->realm.data =
316 (char *) realloc(in_creds.server->realm.data,
317 in_creds.client->realm.length)) == NULL) {
322 in_creds.server->realm.length = in_creds.client->realm.length;
323 memcpy(in_creds.server->realm.data, in_creds.client->realm.data,
324 in_creds.client->realm.length);
326 if ((ret = krb5_build_principal_ext(context, &in_creds.server,
327 in_creds.client->realm.length,
328 in_creds.client->realm.data,
331 in_creds.client->realm.length,
332 in_creds.client->realm.data,
339 &in_creds, &out_creds, &tgts);
342 &in_creds, &out_creds, &tgts);
352 if (in_creds.server)
353 krb5_free_principal(context, in_creds.server);