diff options
author | James Moger <james.moger@gitblit.com> | 2012-04-06 18:01:58 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2012-04-06 18:01:58 -0400 |
commit | 6cca8699f98a606ff19e88d40a8a2535fdc340e7 (patch) | |
tree | b4725b6edbed868e10e6edaae049a7423f4f3008 /distrib/gitblit.properties | |
parent | d58f8efd44c73a649aa92e590cb138ee4507ac99 (diff) | |
download | gitblit-6cca8699f98a606ff19e88d40a8a2535fdc340e7.tar.gz gitblit-6cca8699f98a606ff19e88d40a8a2535fdc340e7.zip |
Skeleton LdapUserService based on John Cryiger's implementation
Diffstat (limited to 'distrib/gitblit.properties')
-rw-r--r-- | distrib/gitblit.properties | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/distrib/gitblit.properties b/distrib/gitblit.properties index 2846496e..acceb888 100644 --- a/distrib/gitblit.properties +++ b/distrib/gitblit.properties @@ -136,6 +136,52 @@ realm.passwordStorage = md5 # SINCE 0.5.0
realm.minPasswordLength = 5
+# URL of the LDAP server.
+#
+# SINCE 1.0.0
+realm.ldap.server = ldap://my.ldap.server
+
+# The LDAP domain to prepend to all usernames during authentication. If
+# unspecified, all logins must prepend the domain to their username.
+# e.g. mydomain
+#
+# SINCE 1.0.0
+realm.ldap.domain =
+
+# 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.
+#
+# e.g. mydomain\\username
+#
+# SINCE 1.0.0
+realm.ldap.username =
+
+# Login password for LDAP searches.
+#
+# SINCE 1.0.0
+realm.ldap.password =
+
+# The LdapUserService must be backed by another user service for standard user
+# and team management.
+# default: users.conf
+#
+# SINCE 1.0.0
+# RESTART REQUIRED
+realm.ldap.backingUserService = users.conf
+
+# Delegate team membership control to LDAP.
+#
+# If true, team user memberships will be specified by LDAP groups. This will
+# disable team selection in Edit User and user selection in Edit Team.
+#
+# If false, LDAP will only be used for authentication and Gitblit will maintain
+# team memberships with the *realm.ldap.backingUserService*.
+#
+# SINCE 1.0.0
+realm.ldap.maintainTeams = false
+
#
# Gitblit Web Settings
#
|