Florian Zschocke
2013-11-22 e1b00bd19810736ea5244e3dbb8cf09525127315
refs
author Florian Zschocke <florian.zschocke@cycos.com>
Friday, November 22, 2013 10:09 -0500
committer James Moger <james.moger@gitblit.com>
Friday, November 22, 2013 10:28 -0500
commite1b00bd19810736ea5244e3dbb8cf09525127315
tree d3544187ada7cc8ca4edcef9a78916e68d38f06a tree | zip | gz
parent 237faead29c2d0dfcc503fe80039a6d985764d81 view | diff
Merge pull request #122 from fzs/ldap-deref-alias

Currently the LDAP user service will not dereference aliases when
searching for groups. This patch enables dereferencing aliases for the
group search. This is benefitial if groups are defined in the DIT in a
common place but only certain ones shall play a role in Gitblit. These
can now be linked under a group that can be provided as search base for
groups, without having to recreate the existing groups under the search
base.

In addition, the new doSearch() method implemented in this patch also
limits the attributes returned for the group search to the "cn"
attribute, which is the only one used. That prevents returning all the
members of the result groups, which can be a lot.

Change-Id: I29e1560390810304386dcea5ca40aaf78601b3a9
2 files modified
27 ■■■■■ changed files
releases.moxie 1 ●●●● diff | view | raw | blame | history
src/main/java/com/gitblit/LdapUserService.java 26 ●●●●● diff | view | raw | blame | history