diff options
author | Greg Hudson <ghudson@mit.edu> | 2010-05-04 15:58:59 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2010-05-04 15:58:59 +0000 |
commit | 481b7dae6a63cbea46fe1379d221b500c3a7403a (patch) | |
tree | f8818c214b08f2fa487ad77330c7c34f4551c93a /src/lib/kadm5 | |
parent | c1a869bd148d49341a8d50daa1b85834f8ea45c9 (diff) | |
download | krb5-481b7dae6a63cbea46fe1379d221b500c3a7403a.zip krb5-481b7dae6a63cbea46fe1379d221b500c3a7403a.tar.gz krb5-481b7dae6a63cbea46fe1379d221b500c3a7403a.tar.bz2 |
Eliminate the unused realm_dbname field from krb5_realm_params
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23968 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/kadm5')
-rw-r--r-- | src/lib/kadm5/admin.h | 1 | ||||
-rw-r--r-- | src/lib/kadm5/alt_prof.c | 6 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/kadm5/admin.h b/src/lib/kadm5/admin.h index 8fad111..bc88245 100644 --- a/src/lib/kadm5/admin.h +++ b/src/lib/kadm5/admin.h @@ -280,7 +280,6 @@ typedef struct _kadm5_config_params { */ typedef struct __krb5_realm_params { char * realm_profile; - char * realm_dbname; char * realm_mkey_name; char * realm_stash_file; char * realm_kdc_ports; diff --git a/src/lib/kadm5/alt_prof.c b/src/lib/kadm5/alt_prof.c index 5b967a0..b4841ba 100644 --- a/src/lib/kadm5/alt_prof.c +++ b/src/lib/kadm5/alt_prof.c @@ -955,13 +955,10 @@ krb5_read_realm_params(kcontext, realm, rparamp) /* Initialize realm parameters */ memset(rparams, 0, sizeof(krb5_realm_params)); - /* Get the value for the database */ + /* Set up the hierarchy so we can query multiple realm variables. */ hierarchy[0] = KRB5_CONF_REALMS; hierarchy[1] = lrealm; - hierarchy[2] = KRB5_CONF_DATABASE_NAME; hierarchy[3] = (char *) NULL; - if (!krb5_aprof_get_string(aprofile, hierarchy, TRUE, &svalue)) - rparams->realm_dbname = svalue; /* Get the value for the KDC port list */ hierarchy[2] = KRB5_CONF_KDC_PORTS; @@ -1105,7 +1102,6 @@ krb5_free_realm_params(kcontext, rparams) { if (rparams) { free(rparams->realm_profile); - free(rparams->realm_dbname); free(rparams->realm_mkey_name); free(rparams->realm_stash_file); free(rparams->realm_keysalts); |