several updates and fixes in auth

This commit is contained in:
Nikos Mavrogiannopoulos
2013-01-30 21:20:16 +01:00
parent 25b0617081
commit 0a8b951022
16 changed files with 528 additions and 313 deletions
+3 -3
View File
@@ -85,9 +85,8 @@ static void parse_cfg_file(const char* file, struct cfg_st *config)
{
tOptionValue const * pov;
const tOptionValue* val;
char tmpstr[256];
char** auth;
unsigned auth_size;
char** auth = NULL;
unsigned auth_size = 0;
unsigned j;
pov = configFileLoad(file);
@@ -127,6 +126,7 @@ unsigned j;
READ_STRING("chroot-dir", config->chroot_dir, 0);
READ_NUMERIC("cookie-validity", config->cookie_validity, 1);
READ_NUMERIC("auth-timeout", config->auth_timeout, 0);
READ_STRING("cookie-db", config->db_file, 1);
val = optionGetValue(pov, "run-as-user"); \