removed dependence in #define's, for where the files are located
authoraland <aland>
Fri, 10 Nov 2000 16:28:33 +0000 (16:28 +0000)
committeraland <aland>
Fri, 10 Nov 2000 16:28:33 +0000 (16:28 +0000)
src/modules/rlm_files/rlm_files.c

index fc373eb..10cd6d0 100644 (file)
@@ -58,8 +58,8 @@ static int fallthrough(VALUE_PAIR *vp)
 static struct file_instance config;
 
 static CONF_PARSER module_config[] = {
-        { "usersfile",     PW_TYPE_STRING_PTR, &config.usersfile, RADIUS_USERS },
-        { "acctusersfile", PW_TYPE_STRING_PTR, &config.acctusersfile, RADIUS_ACCT_USERS },
+        { "usersfile",     PW_TYPE_STRING_PTR, &config.usersfile, "${raddbdir}/users" },
+        { "acctusersfile", PW_TYPE_STRING_PTR, &config.acctusersfile, "${raddbdir}/acct_users" },
        { "compat",        PW_TYPE_STRING_PTR, &config.compat_mode, "cistron" },
        { NULL, -1, NULL, NULL }
 };