X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Foptions.h;h=88496cc7a919d3bd6a369bc0164d0edb66b40060;hb=9b2852c81aab1090d524afa57b1efb953564bfdb;hp=8dfbfa43e0dc9e773bda54aab00215c5c8a135bd;hpb=5a9a05166c4b22e7b7a522063d3dd6f75d1fa589;p=matches%2FMCTX3420.git diff --git a/server/options.h b/server/options.h index 8dfbfa4..88496cc 100644 --- a/server/options.h +++ b/server/options.h @@ -25,17 +25,14 @@ typedef struct /** URI for authentication **/ const char * auth_uri; - /** Base DN for LDAP authentication **/ - const char * ldap_base_dn; + /** Additional options for authentication (to be parsed in Login_Handler) **/ + const char * auth_options; /** Authentication method **/ - enum {AUTH_NONE, AUTH_LDAP, AUTH_SHADOW} auth_method; - - /** Starting directory **/ - char root_dir[BUFSIZ]; - - + enum {AUTH_NONE, AUTH_LDAP, AUTH_SHADOW, AUTH_MYSQL} auth_method; + /** Experiments directory **/ + const char *experiment_dir; } Options; /** The only instance of the Options struct **/