Lines Matching +full:cache +full:- +full:time +full:- +full:ms
26 #include "k5-int.h"
30 #include <time.h>
37 fprintf(stderr, "xusage: %s [-c ccache]\n", prog); in xusage()
41 /* Return true if princ is a local (not cross-realm) krbtgt principal. */
45 return princ->length == 2 && in is_local_tgt()
46 data_eq_string(princ->data[0], KRB5_TGS_NAME) && in is_local_tgt()
47 data_eq(princ->realm, princ->data[1]); in is_local_tgt()
59 krb5_timestamp now = time(0); in cc_has_tickets()
105 while ((option = getopt(argc, argv, "c:h")) != -1) { in main()
123 com_err(argv[0], code, "while opening MS LSA ccache"); in main()
127 /* Enumerate tickets from cache looking for a TGT */ in main()
129 com_err(argv[0], code, "while initiating the cred sequence of MS LSA ccache"); in main()
147 fprintf(stderr, "%s: Initial Ticket Getting Tickets are not available from the MS LSA\n", in main()
149 /* Only set the LSA cache as the default if it actually has tickets. */ in main()
161 com_err(argv[0], code, "while obtaining MS LSA principal"); in main()
179 com_err (argv[0], code, "while copying MS LSA ccache to default ccache"); in main()
183 /* Don't try and set the default cache if the cache name was specified. */ in main()
185 /* On success set the default cache to API. */ in main()