Lines Matching refs:context
39 add_db(krb5_context context, struct krb5_kdc_configuration *c,
47 krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
52 ret = hdb_create(context, &c->db[c->num_db], conf);
59 ret = hdb_set_master_keyfile(context, c->db[c->num_db - 1], master_key);
68 krb5_kdc_set_dbinfo(krb5_context context, struct krb5_kdc_configuration *c)
75 ret = hdb_get_dbinfo(context, &info);
82 ret = add_db(context, c,
83 hdb_dbinfo_get_dbname(context, d),
84 hdb_dbinfo_get_mkey_file(context, d));
88 kdc_log(context, c, 0, "label: %s",
89 hdb_dbinfo_get_label(context, d));
90 kdc_log(context, c, 0, "\tdbname: %s",
91 hdb_dbinfo_get_dbname(context, d));
92 kdc_log(context, c, 0, "\tmkey_file: %s",
93 hdb_dbinfo_get_mkey_file(context, d));
94 kdc_log(context, c, 0, "\tacl_file: %s",
95 hdb_dbinfo_get_acl_file(context, d));
97 hdb_free_dbinfo(context, &info);
103 (*c->db[i]->hdb_destroy)(context, c->db[i]);
108 hdb_free_dbinfo(context, &info);