Automatic commit of irc logs
[matches/MCTX3420.git] / server / parameters
index 99b3f7e..e0c8f47 100644 (file)
@@ -21,12 +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
-auth_uri="/etc/shadow"
+
+#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;

UCC git Repository :: git.ucc.asn.au