X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Fparameters;h=e0c8f47996bfec38442cb5d324a9c4e9b550c93f;hb=b7a1e44bd6c984d061b0b88a8b00cf24b854a1df;hp=a8dc0a0e936bf8780355fc2f7eb1cedecc0312ee;hpb=6f3369862370d744055eb9a60876b8dc29d51611;p=matches%2FMCTX3420.git diff --git a/server/parameters b/server/parameters index a8dc0a0..e0c8f47 100644 --- a/server/parameters +++ b/server/parameters @@ -21,13 +21,22 @@ verbosity="$LOGDEBUG" pin_test="0" # Set to the URI to use authentication +# (Uncomment one of these to enable authentication) + +#LDAP auth #auth_uri="ldap://192.168.1.1#ou=People,dc=daedalus" #auth_uri="ldaps://ldap.pheme.uwa.edu.au#ou=Users,ou=UWA,dc=uwads,dc=uwa,dc=edu,dc=au" #UWA + +#Shadow auth (choose the file location) #auth_uri="/etc/shadow" #auth_uri="shadow" -#auth_uri="mysql://localhost#root,$(cat mysql_password)" +#UserCake +#auth_uri="mysql://localhost#usercake,$(cat mysql_password)" ## OPTIONS TO BE PASSED TO SERVER; DO NOT EDIT -parameters="-v $verbosity -p $pin_test" -# -A $auth_uri" +if [ -n "$auth_uri" ]; then + parameters="-v $verbosity -p $pin_test -A $auth_uri" +else + parameters="-v $verbosity -p $pin_test" +fi;