Lines Matching defs:ticket
40 static char *afs_encode_token(const char *cell, const DATA_BLOB ticket,
49 base64_ticket = base64_encode_data_blob(ticket);
63 DEBUG(10, ("Got ticket string:\n%s\n", result));
71 /* Create a ClearToken and an encrypted ticket. ClearToken has not yet the
75 DATA_BLOB *ticket, struct ClearToken *ct)
95 /* Build the ticket. This is going to be encrypted, so in our
174 *ticket = data_blob(clear_ticket, len);
181 DATA_BLOB ticket;
185 if (!afs_createtoken(username, cell, &ticket, &ct))
188 result = afs_encode_token(cell, ticket, &ct);
190 data_blob_free(&ticket);
199 actually correctly identified and then we create a ticket that the
212 DATA_BLOB ticket;
245 if (!afs_createtoken(afs_username, cell, &ticket, &ct))
251 ticket_str = afs_encode_token(cell, ticket, &ct);
257 data_blob_free(&ticket);