summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLuke Howard <lukeh@padl.com>2011-11-14 17:05:55 +1100
committerLuke Howard <lukeh@padl.com>2011-11-14 17:05:55 +1100
commitf780ff204e39420aabf94a7fab4e2c37790b658f (patch)
tree7484e2ec21c4021f9787445d549dc1bedb81e455 /lib
parent34747348ee53e02bb6faa6a6e26c1440e327ff60 (diff)
remove dictionary configuration parameter
Diffstat (limited to 'lib')
-rw-r--r--lib/conf.c3
-rw-r--r--lib/examples/client.conf2
-rw-r--r--lib/include/radsec/radsec-impl.h1
3 files changed, 0 insertions, 6 deletions
diff --git a/lib/conf.c b/lib/conf.c
index f5d1b2b..84bd1a8 100644
--- a/lib/conf.c
+++ b/lib/conf.c
@@ -15,7 +15,6 @@
#if 0
# common config options
- dictionary = STRING
# common realm config options
realm NAME {
@@ -69,7 +68,6 @@ rs_context_read_config(struct rs_context *ctx, const char *config_file)
};
cfg_opt_t opts[] =
{
- CFG_STR ("dictionary", NULL, CFGF_NONE),
CFG_SEC ("realm", realm_opts, CFGF_TITLE | CFGF_MULTI),
CFG_END ()
};
@@ -98,7 +96,6 @@ rs_context_read_config(struct rs_context *ctx, const char *config_file)
if (config == NULL)
return rs_err_ctx_push_fl (ctx, RSE_NOMEM, __FILE__, __LINE__, NULL);
ctx->config = config;
- config->dictionary = cfg_getstr (cfg, "dictionary");
for (i = 0; i < cfg_size (cfg, "realm"); i++)
{
diff --git a/lib/examples/client.conf b/lib/examples/client.conf
index 07486c6..47528c8 100644
--- a/lib/examples/client.conf
+++ b/lib/examples/client.conf
@@ -1,5 +1,3 @@
-dictionary = "/usr/share/freeradius/dictionary"
-
realm blocking-udp {
type = "UDP"
timeout = 2
diff --git a/lib/include/radsec/radsec-impl.h b/lib/include/radsec/radsec-impl.h
index da4e99c..2274a99 100644
--- a/lib/include/radsec/radsec-impl.h
+++ b/lib/include/radsec/radsec-impl.h
@@ -62,7 +62,6 @@ struct rs_realm {
/** Top configuration object. */
struct rs_config {
- char *dictionary;
struct rs_realm *realms;
cfg_t *cfg;
};