Lines Matching refs:config
85 if (ctx->config.realm) {
96 if(p != NULL && strcmp(ctx->config.realm, p) != 0)
101 ctx->config.dbname = strdup(p);
105 ctx->config.acl_file = strdup(p);
109 ctx->config.stash_file = strdup(p);
121 if (ctx->config.dbname == NULL)
122 ctx->config.dbname = strdup(hdb_default_db(context));
123 if (ctx->config.acl_file == NULL)
124 asprintf(&ctx->config.acl_file, "%s/kadmind.acl", hdb_db_dir(context));
125 if (ctx->config.stash_file == NULL)
126 asprintf(&ctx->config.stash_file, "%s/m-key", hdb_db_dir(context));
153 (*ctx)->config.realm = strdup(params->realm);
155 krb5_get_default_realm(context, &(*ctx)->config.realm);
157 (*ctx)->config.dbname = strdup(params->dbname);
159 (*ctx)->config.acl_file = strdup(params->acl_file);
161 (*ctx)->config.stash_file = strdup(params->stash_file);