aboutsummaryrefslogtreecommitdiff
path: root/modules/auth/ldap/ldap.go
Commit message (Collapse)AuthorAge
* Refactoring: rename modules -> pkgUnknwon2017-04-04
| | | | | | | | Reasons to change: 1. Shorter than 'modules' 2. More generally used by other Go projects 3. Corresponds to the naming of '$GOPATH/pkg' directory
* log: start using gopkg.in/clog.v1Unknwon2017-02-09
|
* Check for zero length passwords in LDAP module. (#3827)Mateusz Hromada2016-12-21
|
* #3791 update LDAP username check (#3906)Саша Иванов2016-12-21
|
* #2709 validate username attribute fetched from LDAPUnknwon2016-07-12
|
* Use SecurityProtocol to replace UseSSL in LDAP configUnknwon2016-07-08
| | | | Initially proposed by #2376 and fixes #3068 as well.
* Add ServerName to tls.Config in LDAP auth (#3104)Paul Tötterman2016-06-01
| | | | | | | | | | From https://godoc.org/crypto/tls#Config ServerName is used to verify the hostname on the returned certificates unless InsecureSkipVerify is given. It is also included in the client's handshake to support virtual hosting unless it is an IP address. This is needed for certificate validation without InsecureSkipVerify.
* LDAP: Make a bit more detailed log tracesAdam Strzelecki2016-02-20
| | | | | This is useful especially to check whether we fetch right attributes, using right LDAP search base and in right order.
* LDAP: Fetch attributes in Bind DN context optionAdam Strzelecki2016-02-20
| | | | | | | | | This is feature is workaround for #2628 (JumpCloud) and some other services that allow LDAP search only under BindDN user account, but not allow any LDAP search query in logged user DN context. Such approach is an alternative to minimal permissions security pattern for BindDN user.
* LDAP: Use single connection in BindDN mode authAdam Strzelecki2016-02-20
| | | | | | | | | | According to RFC 4511 4.2.1. Processing of the Bind Request "Clients may send multiple Bind requests to change the authentication and/or security associations or to complete a multi-stage Bind process. Authentication from earlier binds is subsequently ignored." Therefore we should not use 2 connections, but single one just sending two bind requests.
* Fix #2221 LDAP username attribute must be fetchedAdam Strzelecki2016-02-07
| | | | | This is fix-up for 573305f. Forgot to fetch AttributeUsername value from the LDAP server, so the setting was effectively not working as intended.
* Fix misspelled wordsAlex Myasoedov2015-12-06
|
* LDAP: Optional user name attribute specificationAdam Strzelecki2015-12-02
| | | | | | | | | | | | | | | Consider following LDAP search query example: (&(objectClass=Person)(|(uid=%s)(mail=%s))) Right now on first login attempt Gogs will use the text supplied on login form as the newly created user name. In example query above the text matches against both e-mail or user name. So if user puts the e-mail then the new Gogs user name will be e-mail which may be undesired. Using optional user name attribute setting we can explicitly say we want Gogs user name to be certain LDAP attribute eg. `uid`, so even user will use e-mail to login 1st time, the new account will receive correct user name.
* Use better LDAP lib and should fix #1139Unknwon2015-11-26
|
* #1896 fatal when no needed update taskUnknwon2015-11-04
|
* Sanitizing input to LDAP authentication module.Sergio Benitez2015-10-26
|
* revert simple LDAP userDN and update exampleUnknwon2015-09-16
|
* #1637 able to skip verify for LDAPUnknwon2015-09-14
|
* fix simple LDAP userDNUnknwon2015-09-14
|
* Added LDAP simple auth support.Sergio Benitez2015-09-04
|
* #1554 check adminFilter length before LDAP searchUnknwon2015-09-01
|
* Set IsAdmin using LDAPGirish Ramakrishnan2015-08-18
| | | | | | | | | 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.
* work on #986 and fix a LDAP crashUnknwon2015-08-18
|
* Merge branch 'develop' of https://github.com/SergioBenitez/gogs into developUnknwon2015-08-16
|\ | | | | | | | | # Conflicts: # modules/bindata/bindata.go
| * Significantly enhanced LDAP support in Gogs.Sergio Benitez2015-08-12
|/
* Get username, name, surname and e-mail from LDAP serverLauris BH2015-02-08
|
* Fix spelling errors in comments.Joseph Crail2014-12-06
|
* Remove ldap depUnknwon2014-09-07
|
* New UI merge in progressUnknwon2014-07-26
|
* implicated error for ldap dialLunny Xiao2014-05-16
|
* Add LDAP over SSL supportSebastian Jackel2014-05-15
|
* merge all login methodsLunny Xiao2014-05-11
|
* ldap supportLunny Xiao2014-05-03
|
* initial support for LDAP authentication/MSADjuju20132014-04-23