Unknwon
f1adbca0f1
#1554 check adminFilter length before LDAP search
9 years ago
Girish Ramakrishnan
24d7a86a8d
Set IsAdmin using LDAP
...
The IsAdmin flag is set based on whether the admin filter
returned any result. The admin filter is applied with the user dn
as the search root.
In the future, we should update IsAdmin as well on each login.
Alternately, we can have a periodic sync operation.
9 years ago
Unknwon
6235bd1fe9
work on #986 and fix a LDAP crash
9 years ago
Sergio Benitez
bb8e763ede
Small style fixes to the LDAP module README
9 years ago
Sergio Benitez
f8a4ab25fd
Updated the LDAP module readme.
9 years ago
Sergio Benitez
7d84d4a8f0
Significantly enhanced LDAP support in Gogs.
9 years ago
Lauris BH
00653e52ee
Get username, name, surname and e-mail from LDAP server
10 years ago
Joseph Crail
39c068400e
Fix spelling errors in comments.
10 years ago
Unknwon
59a7c7c5a5
Remove ldap dep
10 years ago
Tristan Storch
69e332f432
Removed trailing white spaces
...
Removed trailing whitespaces with
```sh
for file in `grep -r " $" * | cut -d : -f 1 | sort | uniq | grep -v " "`; do sed -i 's/[ \t]*$//' $file; done
```
and some handwork.
10 years ago
Unknwon
8dd07c0ddd
New UI merge in progress
10 years ago
Lunny Xiao
f6c94c29d5
implicated error for ldap dial
11 years ago
Sebastian Jackel
eb264a112b
Add LDAP over SSL support
11 years ago
Unknown
65e628d1f4
ignore broken tests
11 years ago
Lunny Xiao
4d6de6c7b9
add login name for auth type
11 years ago
Lunny Xiao
79ea34e70e
ldap support
11 years ago
juju2013
efc05ea1de
initial support for LDAP authentication/MSAD
11 years ago