From 6cca8699f98a606ff19e88d40a8a2535fdc340e7 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Fri, 06 Apr 2012 18:01:58 -0400 Subject: [PATCH] Skeleton LdapUserService based on John Cryiger's implementation --- distrib/gitblit.properties | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 46 insertions(+), 0 deletions(-) diff --git a/distrib/gitblit.properties b/distrib/gitblit.properties index 2846496..acceb88 100644 --- a/distrib/gitblit.properties +++ b/distrib/gitblit.properties @@ -136,6 +136,52 @@ # 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 # -- Gitblit v1.9.1