summaryrefslogtreecommitdiffstats
path: root/distrib/gitblit.properties
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2013-02-25 09:41:49 -0500
committerJames Moger <james.moger@gitblit.com>2013-02-25 09:41:49 -0500
commit64b6f382d35e1fea0172b222277dae0312f274e4 (patch)
tree1d87ff9327d28017ee72cc968ac2312004acdac2 /distrib/gitblit.properties
parent63168aacd63d712f67ca8c5b448f637729cdc2de (diff)
parent334d158ad313aaf56e33d55981f969fa05d8547e (diff)
downloadgitblit-64b6f382d35e1fea0172b222277dae0312f274e4.tar.gz
gitblit-64b6f382d35e1fea0172b222277dae0312f274e4.zip
Merged LDAP user/team pre-fetching and synchronization enhancement from mschaefers
Diffstat (limited to 'distrib/gitblit.properties')
-rw-r--r--distrib/gitblit.properties28
1 files changed, 28 insertions, 0 deletions
diff --git a/distrib/gitblit.properties b/distrib/gitblit.properties
index f5cc19b6..80790d30 100644
--- a/distrib/gitblit.properties
+++ b/distrib/gitblit.properties
@@ -1143,6 +1143,34 @@ realm.ldap.displayName = displayName
# SINCE 1.0.0
realm.ldap.email = email
+# Defines the cache period to be used when caching LDAP queries. This is currently
+# only used for LDAP user synchronization.
+#
+# Must be of the form '<long> <TimeUnit>' where <TimeUnit> is one of 'MILLISECONDS', 'SECONDS', 'MINUTES', 'HOURS', 'DAYS'
+# default: 2 MINUTES
+#
+# RESTART REQUIRED
+realm.ldap.ldapCachePeriod = 2 MINUTES
+
+# Defines whether to synchronize all LDAP users into the backing user service
+#
+# Valid values: true, false
+# If left blank, false is assumed
+realm.ldap.synchronizeUsers.enable = false
+
+# Defines whether to delete non-existent LDAP users from the backing user service
+# during synchronization. depends on realm.ldap.synchronizeUsers.enable = true
+#
+# Valid values: true, false
+# If left blank, true is assumed
+realm.ldap.synchronizeUsers.removeDeleted = true
+
+# Attribute on the USER record that indicate their username to be used in gitblit
+# when synchronizing users from LDAP
+# if blank, Gitblit will use uid
+# For MS Active Directory this may be sAMAccountName
+realm.ldap.uid = uid
+
# The RedmineUserService must be backed by another user service for standard user
# and team management.
# default: users.conf