diff -r 14722c5f8856 -r 74babc0082b7 src/server/daemon/webserver.c --- a/src/server/daemon/webserver.c Wed May 22 15:05:06 2013 +0200 +++ b/src/server/daemon/webserver.c Sun May 26 12:12:07 2013 +0200 @@ -50,7 +50,7 @@ #include "httplistener.h" #include "webserver.h" #include "log.h" - +#include "auth.h" extern struct FuncStruct webserver_funcs[]; @@ -75,6 +75,9 @@ return -1; } + // init caches + auth_cache_init(); + // create tmp dir and pid file ServerConfiguration *cfg = cfgmgr_get_server_config(); char *mkdir_cmd = NULL; @@ -140,7 +143,7 @@ LOG_WARN, "server must be started as root to change uid"); } - + return 0; }