Lines Matching refs:err
75 static void printiferr (errcode_t err, const char *format, ...);
276 krb5_error_code err = 0;
284 err = krb5_init_context (&kcontext);
286 if (!err) {
287 err = krb5_cc_default (kcontext, &ccache);
290 if (!err) {
291 err = krb5_cc_set_flags (kcontext, ccache, flags); /* turn off OPENCLOSE */
294 if (!err) {
295 err = krb5_cc_start_seq_get (kcontext, ccache, &cursor);
298 if (!err) {
299 while ((err = krb5_cc_next_cred (kcontext, ccache, &cursor, &creds)) == 0) {
302 if (!err) {
303 err = krb5_unparse_name (kcontext, creds.server, &serverName);
304 printiferr (err, "while unparsing server name");
307 if (!err) {
396 if (err == KRB5_CC_END) { err = 0; }
397 printiferr (err, "while retrieving a ticket");
401 if (!err) {
402 err = krb5_cc_end_seq_get (kcontext, ccache, &cursor);
403 printiferr (err, "while finishing ticket retrieval");
406 if (!err) {
408 err = krb5_cc_set_flags (kcontext, ccache, flags);
409 printiferr (err, "while finishing ticket retrieval");
459 int err = krb5_unparse_name (kcontext, principalName, &principalString);
461 if (!err) {
563 static void printiferr (errcode_t err, const char *format, ...)
565 if (err) {
569 com_err_va ("ticketParser:", err, format, pvar);