James Moger
2012-05-10 380afada1de5b97284704163638aafea5f0f0b0d
distrib/gitblit.properties
@@ -91,6 +91,21 @@
# SINCE 0.8.0
groovy.postReceiveScripts =
# Repository custom fields for Groovy Hook mechanism
#
# List of key=label pairs of custom fields to prompt for in the Edit Repository
# page.  These keys are stored in the repository's git config file in the
# section [gitblit "customFields"].  Key names are alphanumeric only.  These
# fields are intended to be used for the Groovy hook mechanism where a script
# can adjust it's execution based on the custom fields stored in the repository
# config.
#
# e.g. "commitMsgRegex=Commit Message Regular Expression" anotherProperty=Another
#
# SPACE-DELIMITED
# SINCE 1.0.0
groovy.customFields =
#
# Authentication Settings
#
@@ -116,7 +131,11 @@
# Either the full path to a user config file (users.conf)
# OR the full path to a simple user properties file (users.properties)
# OR a fully qualified class name that implements the IUserService interface.
# Any custom implementation must have a public default constructor.
#
# Alternative user services:
#    com.gitblit.LdapUserService
#
# Any custom user service implementation must have a public default constructor.
#
# SINCE 0.5.0
# RESTART REQUIRED
@@ -142,9 +161,7 @@
realm.ldap.server = ldap://localhost
# Login username for LDAP searches.
# The domain prefix may be omitted if it matches the domain specified in
# *realm.ldap.domain*. If this value is unspecified, anonymous LDAP login will
# be used.
# If this value is unspecified, anonymous LDAP login will be used.
# e.g. mydomain\\username
#
@@ -175,65 +192,75 @@
# SINCE 1.0.0
realm.ldap.maintainTeams = false
# Root node that all Users sit under in LDAP
# Root node for all LDAP users
#
# This is the root node that searches for user information will begin from in LDAP
# If blank, it will search ALL of ldap.
# This is the root node from which subtree user searches will begin.
# If blank, Gitblit will search ALL nodes.
#
# SINCE 1.0.0
realm.ldap.accountBase = OU=Users,OU=UserControl,OU=MyOrganization,DC=MyDomain
# Filter Criteria for Users in LDAP
# Filter criteria for LDAP users
#
# Query pattern to use when searching for a user account. This may be any valid 
# LDAP query expression, including the standard (&) and (|) operators.  Variables may
# be injected via the ${variableName} syntax.  Recognized variables are:
# LDAP query expression, including the standard (&) and (|) operators.
#
# Variables may be injected via the ${variableName} syntax.
# Recognized variables are:
#    ${username} - The text entered as the user name
#
# SINCE 1.0.0
realm.ldap.accountPattern = (&(objectClass=person)(sAMAccountName=${username}))
# Root node that all Teams sit under in LDAP
# Root node for all LDAP groups to be used as Gitblit Teams
#
# This is the node that searches for team information will begin from in LDAP
# If blank, it will search ALL of ldap.
# This is the root node from which subtree team searches will begin.
# If blank, Gitblit will search ALL nodes.
#
# SINCE 1.0.0
realm.ldap.groupBase = OU=Groups,OU=UserControl,OU=MyOrganization,DC=MyDomain
# Filter Criteria for Teams in LDAP
# Filter criteria for LDAP groups
#
# Query pattern to use when searching for a team. This may be any valid 
# LDAP query expression, including the standard (&) and (|) operators. Variables may
# be injected via the ${variableName} syntax.  Recognized variables are:
# LDAP query expression, including the standard (&) and (|) operators.
#
# Variables may be injected via the ${variableName} syntax.
# Recognized variables are:
#    ${username} - The text entered as the user name
#    ${dn} - The Distinguished Name of the user logged in
# All attributes on the User's record are also passed in.  For example, if a user has an
# attribute "fullName" set to "John", "(fn=${fullName})" will be translated to "(fn=John)".
#
# All attributes from the LDAP User record are available. For example, if a user
# has an attribute "fullName" set to "John", "(fn=${fullName})" will be
# translated to "(fn=John)".
#
# SINCE 1.0.0
realm.ldap.groupMemberPattern = (&(objectClass=group)(member=${dn}))
# Users and or teams that are Admins, read from LDAP
# LDAP users or groups that should be given administrator privileges.
#
# This is a space delimited list.  If it starts with @, it indicates a Team Name
# Teams are specified with a leading '@' character.  Groups with spaces in the
# name can be entered as "@team name".
#
# e.g. realm.ldap.admins = john @git_admins "@git admins"
#
# SPACE-DELIMITED
# SINCE 1.0.0
realm.ldap.admins= @Git_Admins
realm.ldap.admins = @Git_Admins
# Attribute(s) on the USER record that indicate their display (or full) name. Leave blank
# for no mapping available in LDAP
# Attribute(s) on the USER record that indicate their display (or full) name.
# Leave blank for no mapping available in LDAP.
#
# This may be a single attribute, or a string of multiple attributes.  Examples:
#  displayName - Uses the attribute 'displayName' on the user record
#  ${personalTitle}. ${givenName} ${surname} - Will concatenate the 3 
#       attributes together, with a '.' after personalTitle
#       attributes together, with a '.' after personalTitle
#
# SINCE 1.0.0
realm.ldap.displayName= displayName
realm.ldap.displayName = displayName
# Attribute(s) on the USER record that indicate their email address.  Leave blank
# for no mapping available in LDAP
# Attribute(s) on the USER record that indicate their email address.
# Leave blank for no mapping available in LDAP.
#
# This may be a single attribute, or a string of multiple attributes.  Examples:
#  email - Uses the attribute 'email' on the user record
@@ -803,4 +830,4 @@
#
# SINCE 0.5.0
# RESTART REQUIRED
server.shutdownPort = 8081
server.shutdownPort = 8081