X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Foptions.h;h=bf668b3f2f05365bbdb7eed73f6da78071a40e5b;hb=fc0dc3b827eeff91373db42a78a098200cbf8fa6;hp=a20e0e1010b0629829452497da9224d79c42721a;hpb=0f827545e0eb6846608da4aaf4dc8047478070a4;p=matches%2FMCTX3420.git diff --git a/server/options.h b/server/options.h index a20e0e1..bf668b3 100644 --- a/server/options.h +++ b/server/options.h @@ -19,6 +19,23 @@ typedef struct /** Time at which program exits **/ struct timeval end_time; + /** Whether or not to enable the pin_test module **/ + bool enable_pin; + + /** URI for authentication **/ + const char * auth_uri; + + /** Base DN for LDAP authentication **/ + const char * ldap_base_dn; + + /** Authentication method **/ + enum {AUTH_NONE, AUTH_LDAP, AUTH_SHADOW} auth_method; + + /** Starting directory **/ + char root_dir[BUFSIZ]; + + + } Options; /** The only instance of the Options struct **/