Drop unused config entries.
authornbk <nbk>
Sat, 20 May 2006 12:44:37 +0000 (12:44 +0000)
committernbk <nbk>
Sat, 20 May 2006 12:44:37 +0000 (12:44 +0000)
src/modules/rlm_sql/conf.h
src/modules/rlm_sql/rlm_sql.c

index 73b3aab..c93be92 100644 (file)
@@ -15,15 +15,7 @@ typedef struct sql_config {
        char   *sql_login;
        char   *sql_password;
        char   *sql_db;
-       char   *sql_acct_table;
-       char   *sql_acct_table2;
-       char   *sql_authcheck_table;
-       char   *sql_authreply_table;
-       char   *sql_groupcheck_table;
-       char   *sql_groupreply_table;
-       char   *sql_usergroup_table;
        char   *sql_nas_table;
-       char   *sql_dict_table;
        char   *query_user;
        char   *default_profile;
        char   *authorize_check_query;
@@ -48,7 +40,6 @@ typedef struct sql_config {
        int     num_sql_socks;
        int     connect_failure_retry_delay;
        int     query_on_not_found;
-       char   *sql_postauth_table;
        char   *postauth_query;
        char   *allowed_chars;
 
index fabe4cb..98afac2 100644 (file)
@@ -63,24 +63,8 @@ static CONF_PARSER module_config[] = {
         offsetof(SQL_CONFIG,sql_password), NULL, ""},
        {"radius_db", PW_TYPE_STRING_PTR,
         offsetof(SQL_CONFIG,sql_db), NULL, "radius"},
-       {"acct_table", PW_TYPE_STRING_PTR,
-        offsetof(SQL_CONFIG,sql_acct_table), NULL, "radacct"},
-       {"acct_table2", PW_TYPE_STRING_PTR,
-        offsetof(SQL_CONFIG,sql_acct_table2), NULL, "radacct"},
-       {"authcheck_table", PW_TYPE_STRING_PTR,
-        offsetof(SQL_CONFIG,sql_authcheck_table), NULL, "radcheck"},
-       {"authreply_table", PW_TYPE_STRING_PTR,
-        offsetof(SQL_CONFIG,sql_authreply_table), NULL, "radreply"},
-       {"groupcheck_table", PW_TYPE_STRING_PTR,
-        offsetof(SQL_CONFIG,sql_groupcheck_table), NULL, "radgroupcheck"},
-       {"groupreply_table", PW_TYPE_STRING_PTR,
-        offsetof(SQL_CONFIG,sql_groupreply_table), NULL, "radgroupreply"},
-       {"usergroup_table", PW_TYPE_STRING_PTR,
-        offsetof(SQL_CONFIG,sql_usergroup_table), NULL, "usergroup"},
        {"nas_table", PW_TYPE_STRING_PTR,
         offsetof(SQL_CONFIG,sql_nas_table), NULL, "nas"},
-       {"dict_table", PW_TYPE_STRING_PTR,
-        offsetof(SQL_CONFIG,sql_dict_table), NULL, "dictionary"},
        {"sqltrace", PW_TYPE_BOOLEAN,
         offsetof(SQL_CONFIG,sqltrace), NULL, "no"},
        {"sqltracefile", PW_TYPE_STRING_PTR,
@@ -127,8 +111,6 @@ static CONF_PARSER module_config[] = {
         offsetof(SQL_CONFIG,simul_count_query), NULL, ""},
        {"simul_verify_query", PW_TYPE_STRING_PTR,
         offsetof(SQL_CONFIG,simul_verify_query), NULL, ""},
-       {"postauth_table", PW_TYPE_STRING_PTR,
-        offsetof(SQL_CONFIG,sql_postauth_table), NULL, "radpostauth"},
        {"postauth_query", PW_TYPE_STRING_PTR,
         offsetof(SQL_CONFIG,postauth_query), NULL, ""},
        {"safe-characters", PW_TYPE_STRING_PTR,