Lines Matching refs:keytab

76     char *keytab;
1082 krb5_keytab keytab;
1091 memset(&keytab, 0, sizeof(keytab));
1092 kerr = krb5_kt_resolve(kr->ctx, kr->keytab, &keytab);
1094 DEBUG(SSSDBG_CRIT_FAILURE, "error resolving keytab [%s], " \
1095 "not verifying TGT.\n", kr->keytab);
1100 kerr = krb5_kt_start_seq_get(kr->ctx, keytab, &cursor);
1102 DEBUG(SSSDBG_CRIT_FAILURE, "error reading keytab [%s], " \
1103 "not verifying TGT.\n", kr->keytab);
1109 while ((kt_err = krb5_kt_next_entry(kr->ctx, keytab, &entry, &cursor)) == 0) {
1123 DEBUG(SSSDBG_MINOR_FAILURE, "Failed to free keytab entry.\n");
1129 "Found keytab entry with the realm of the credential.\n");
1138 "in keytab. Using the last entry.\n");
1141 /* Close the keytab here. Even though we're using cursors, the file
1145 kerr = krb5_kt_end_seq_get(kr->ctx, keytab, &cursor);
1154 DEBUG(SSSDBG_CRIT_FAILURE, "error reading keytab [%s], " \
1155 "not verifying TGT.\n", kr->keytab);
1171 kerr = krb5_verify_init_creds(kr->ctx, kr->creds, validation_princ, keytab,
1187 kr->creds->client, keytab, &pac_authdata);
1211 if (krb5_kt_close(kr->ctx, keytab) != 0) {
1228 krb5_keytab keytab,
1243 kerr = krb5_get_init_creds_keytab(ctx, &creds, princ, keytab, 0, NULL,
1940 kr->keytab = talloc_strndup(pd, (char *)(buf + p), len);
1941 if (kr->keytab == NULL) return ENOMEM;
1950 "ccname: [%s] old_ccname: [%s] keytab: [%s]\n",
1953 kr->keytab);
1957 kr->keytab = NULL;
2073 krb5_keytab keytab = NULL;
2093 kerr = krb5_kt_resolve(ctx, keytab_name, &keytab);
2095 kerr = krb5_kt_default(ctx, &keytab);
2099 "Failed to read keytab file [%s]: %s\n",
2105 kerr = find_principal_in_keytab(ctx, keytab, primary, realm, &client_princ);
2160 keytab, ccname);
2227 if (keytab != NULL) {
2228 krb5_kt_close(ctx, keytab);
2305 kr->keytab, &kr->fast_ccname);
2637 kerr = copy_keytab_into_memory(kr, kr->ctx, kr->keytab, &mem_keytab,
2644 talloc_free(kr->keytab);
2645 kr->keytab = mem_keytab;