summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorNils Schwabe2014-04-30 15:54:59 +0200
committerNils Schwabe2014-04-30 15:54:59 +0200
commit0ee8c7190cb020101f7807a2f12b26a3f62a89b0 (patch)
treed8f98466325c4d21cbad960b65b2e70b5e047da5 /config
parentAdd some new exceptions for problems with image's data (diff)
downloadmasterserver-0ee8c7190cb020101f7807a2f12b26a3f62a89b0.tar.gz
masterserver-0ee8c7190cb020101f7807a2f12b26a3f62a89b0.tar.xz
masterserver-0ee8c7190cb020101f7807a2f12b26a3f62a89b0.zip
Add connecting to LDAP with cert (JKS in globals.config)
Connecting to BW LDAP works now (finally!!)
Diffstat (limited to 'config')
-rw-r--r--config/global.properties.example35
1 files changed, 24 insertions, 11 deletions
diff --git a/config/global.properties.example b/config/global.properties.example
index 0b26f75..668bfdb 100644
--- a/config/global.properties.example
+++ b/config/global.properties.example
@@ -7,31 +7,31 @@
# the dir where the images are stored
image_dir=/tmp
-# keystore (.jks format)
-keystore=./config/keystore.jks
-
#####################
-# LDAP data #
+# LDAP #
#####################
# the port of the LDAP server
ldap_port=636
# the host address of the LDAP server
-ldap_host=bv1.ruf.uni-freiburg.de
+ldap_host=bwservices-test.vm.uni-freiburg.de
# SSL usage
ldap_ssl=true
# bind query (don't forget to escape \= and use a % for the username replacement
-ldap_bind_query=uid\=%,ou\=people,dc\=uni-freiburg,dc\=de
+ldap_bind_query=uid\=%,ou\=users,dc\=bwlehrpool,dc\=uni-freiburg,dc\=de
# search baseDn
-ldap_search_base_dn=ou\=people,dc\=uni-freiburg,dc\=de
-
+ldap_search_base_dn=ou\=users,dc\=bwlehrpool,dc\=uni-freiburg,dc\=de
# search filter (use a % for the username replacement
-ldap_search_filter=(&(objectclass\=person)(uid\=%))
+ldap_search_filter=(&(objectclass\=person)(|(uid=%)(cn=%)))
+
+# ldap keystore with public key
+ldap_keystore_path=./config/ldap.jks
+ldap_keystore_password=changeit
#####################
# Session #
@@ -53,5 +53,18 @@ ftp_base_dir=/tmp
# the port of the ftp server
ftp_port=2221
-# timeout for kicking ftp users (in minutes)
-ftp_timeout=60 \ No newline at end of file
+# timeout for kicking idling ftp users (in minutes)
+ftp_timeout=30
+
+#####################
+# Keystore #
+#####################
+
+# keystore (.jks format)
+keystore_file=./config/keystore.jks
+
+# keystore alias
+keystore_alias=ftp
+
+#keystore password
+keystore_password=password \ No newline at end of file