summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorNils Schwabe2014-04-24 15:26:58 +0200
committerNils Schwabe2014-04-24 15:26:58 +0200
commit87d2abae6355cfb9993edb89cc60912d0d8230a5 (patch)
tree148279b45dc791d2bd6b19e690cff8740158b0dc /config
parentReformat all files with simon's new layout (diff)
downloadmasterserver-87d2abae6355cfb9993edb89cc60912d0d8230a5.tar.gz
masterserver-87d2abae6355cfb9993edb89cc60912d0d8230a5.tar.xz
masterserver-87d2abae6355cfb9993edb89cc60912d0d8230a5.zip
Add FTPS to MasterFtpServer
Diffstat (limited to 'config')
-rw-r--r--config/global.properties.example21
1 files changed, 14 insertions, 7 deletions
diff --git a/config/global.properties.example b/config/global.properties.example
index 1b2ea39..0b26f75 100644
--- a/config/global.properties.example
+++ b/config/global.properties.example
@@ -1,12 +1,15 @@
# fill in properties and rename to global.properties
#####################
-# Directories #
+# Main #
#####################
# the dir where the images are stored
image_dir=/tmp
+# keystore (.jks format)
+keystore=./config/keystore.jks
+
#####################
# LDAP data #
#####################
@@ -26,6 +29,7 @@ ldap_bind_query=uid\=%,ou\=people,dc\=uni-freiburg,dc\=de
# search baseDn
ldap_search_base_dn=ou\=people,dc\=uni-freiburg,dc\=de
+
# search filter (use a % for the username replacement
ldap_search_filter=(&(objectclass\=person)(uid\=%))
@@ -33,18 +37,21 @@ ldap_search_filter=(&(objectclass\=person)(uid\=%))
# Session #
#####################
-# session timeout for users (in minutes)
-session_timeout_user=30
+# session timeout for users (in seconds)
+session_timeout_user=600
-# session timeout for servers (in minutes)
-session_timeout_server=30
+# session timeout for servers (in seconds)
+session_timeout_server=600
#####################
# FTP Server #
#####################
# the base dir of the ftp server (should exists)
-ftp_base_dir=/home/nils/ftp
+ftp_base_dir=/tmp
# the port of the ftp server
-ftp_port=2221 \ No newline at end of file
+ftp_port=2221
+
+# timeout for kicking ftp users (in minutes)
+ftp_timeout=60 \ No newline at end of file