From 0d913c3ef4ba345b8f76bd3a7643facaaff5c35d Mon Sep 17 00:00:00 2001
From: brinn <brinn>
Date: Thu, 29 Jul 2010 12:28:24 +0000
Subject: [PATCH] add: LDAP configuration

SVN: 17295
---
 openbis/dist/server/service.properties | 34 ++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/openbis/dist/server/service.properties b/openbis/dist/server/service.properties
index 6324f5be46a..5d9725ac91b 100644
--- a/openbis/dist/server/service.properties
+++ b/openbis/dist/server/service.properties
@@ -10,6 +10,9 @@ authorization-component-factory = active-authorization
 
 script-folder = .
 
+#
+# Database configuration
+#
 # Supported: currently only 'postgresql' and 'h2' are supported
 database.engine = postgresql
 database.create-from-scratch = false
@@ -22,11 +25,42 @@ database.owner-password =
 database.admin-user = 
 database.admin-password =
 
+#
+# Crowd configuration
+#
 crowd.service.host = crowd-bsse.ethz.ch
 crowd.service.port = 8443
 crowd.application.name = openbis
 crowd.application.password =
 
+#
+# LDAP configuration
+#
+# The URL of the LDAP server, e.g. "ldap://d.ethz.ch/DC=d,DC=ethz,DC=ch"
+ldap.server.url = <LDAP URL>
+# The distinguished name of the security principal,
+# e.g. "CN=carl,OU=EthUsers,DC=d,DC=ethz,DC=ch"
+ldap.security.principal.distinguished.name = <distinguished name to login to the LDAP server>
+# Password of the LDAP user account that will be used to login to the LDAP server to perform the queries
+ldap.security.principal.password = <password of the user to connect to the LDAP server>
+# The security protocol to use, use "ssl" or "none", default is "ssl"
+ldap.security.protocol =
+# The authentication method to use: "none" (no authentication), "simple", "strong" (SASL), defaults to "simple"
+ldap.security.authentication-method =
+# The referral mode:
+# "follow" - follow referrals automatically (the default)
+# "ignore" - ignore referrals
+# "throw" - throw ReferralException when a referral is encountered
+ldap.referral =
+# The attribute name for the user id, defaults to "uid"
+ldap.attributenames.user.id =
+# The attribute name for the email, defaults to "mail"
+ldap.attributenames.email =
+# The attribute name for the first name, defaults to "givenName"
+ldap.attributenames.first.name =
+# The attribute name for the last name, defaults to "sn"
+ldap.attributenames.last.name =
+
 # The database instance local unique identifier. Used when the new database is created.
 database-instance = TEST
 
-- 
GitLab