Commit Graph

52 Commits

Author SHA1 Message Date
Denis CLAVIER 930b007e07
Merge pull request #50 from grvsmth/abg_user_not_found
Friendlier error if user is not found in LDAP
2020-05-24 16:58:15 +02:00
Denis CLAVIER 62f9248a3d
Merge pull request #49 from grvsmth/abg_resource_dn
Fixed 'dn' bug and documentation in resource.php
2020-05-24 16:48:51 +02:00
Angus B. Grieve-Smith b94872a260 Merge v2 2020-05-07 18:02:42 -04:00
Angus B. Grieve-Smith 0ab3fe2576 Fix merge error in authorize.php 2020-05-07 17:55:02 -04:00
Angus B. Grieve-Smith a6fa569775 Fix merge error in authorize.php 2020-05-07 17:53:58 -04:00
Angus B. Grieve-Smith 700513b9f2 Merge branch 'v2' into abg_resource_dn 2020-05-07 17:52:00 -04:00
Angus B. Grieve-Smith 7ad94b975e Merge original 2020-05-07 17:40:46 -04:00
Denis CLAVIER 09c68d7d12 Adapt v2 with merged PR 2020-05-01 22:22:55 +02:00
Angus B. Grieve-Smith ebe47e7daf Remove changes from other branches 2020-05-01 16:06:18 -04:00
Denis CLAVIER 58dbdb957d Update Mattermost-LDAP to V2.0 2020-05-01 21:18:52 +02:00
Angus B. Grieve-Smith 3df8d4086a Reformatted resource array for easier reading 2020-05-01 15:05:46 -04:00
Angus B. Grieve-Smith 01bb928905 Fixed 'dn' bug and documentation in resource.php 2020-05-01 15:00:06 -04:00
Denis CLAVIER 0c5e9ae2e5 Merge branch 'master' of https://github.com/dimst23/Mattermost-LDAP into dimst23-master 2020-05-01 20:48:50 +02:00
Angus B. Grieve-Smith 177d6f85b0 Merge v2 code 2020-05-01 13:56:32 -04:00
Angus B. Grieve-Smith d0f241b206 Merge branch 'abg_token_https' into abg_user_not_found 2020-05-01 13:31:48 -04:00
Angus B. Grieve-Smith fd78a7b29e Clarify language in comment relating to URL modification 2020-05-01 13:28:42 -04:00
Angus B. Grieve-Smith 93c4a0ab84 Remove changes that are not related to the HTTPS redirect_uri 2020-05-01 13:24:17 -04:00
Angus B. Grieve-Smith 13dc19e040 Added config.php to specify that our Mattermost server is HTTPS 2020-05-01 12:21:26 -04:00
Denis CLAVIER 2a17782f9f
Merge pull request #40 from parnic-sks/bugfix/case-sensitivity
Fixed failing oauth if username case changed
2020-04-30 20:24:16 +02:00
Angus B. Grieve-Smith 6da202fe7c Copy 404 handling to connexion.php 2020-04-30 13:21:56 -04:00
Denis CLAVIER 9b9ef0f9e8 Update Mattermost-LDAP to V2.0 2020-04-30 15:43:07 +02:00
Angus B. Grieve-Smith e34253faf8 Handle instance where user is not found in LDAP more gracefully 2020-04-29 18:02:50 -04:00
Angus B. Grieve-Smith f46d2f7802 Missing space in username error 2020-04-29 17:55:04 -04:00
Angus B. Grieve-Smith 4942a1511f Clarify errors in connexion.php 2020-04-29 17:50:57 -04:00
Angus B. Grieve-Smith f752ead015 Remove erroneous log statement 2020-04-28 15:18:06 -04:00
Angus B. Grieve-Smith 6bd47420a1 .gitignore 2020-04-27 17:01:26 -04:00
Angus B. Grieve-Smith 0e06bf6c97 Line breaks and diagnostic logs 2020-04-27 17:00:45 -04:00
Angus B. Grieve-Smith b44b6c4116 Use cn value for external id 2020-04-27 14:38:13 -04:00
Angus B. Grieve-Smith 5a388efa14 Fix in case token comes through with HTTP instead of HTTPS 2020-04-24 16:50:30 -04:00
SKS Parnic a3a514d281 Fixed failing oauth if username case changed
If the user had previously logged into mattermost as "user" and then tried to connect another device as "User", a new set of entries would be created in the database which caused user IDs to not match up which caused Mattermost to throw an error about the account already being registered under a different service. This change ensures usernames are always processed in lowercase so that this can't happen.

Note that manual fixups of any existing entries in the mattermost-ldap database may need to be performed to fully fix everything. This just prevents the issue from occurring again in a very simple way. A more thorough fix would be to make the db queries check in a case-insensitive matter, though multiple entries in the users database would still exist.
2020-03-12 12:28:45 -05:00
Dimitrios Stoupis 73b9880eb4
Format the error message 2019-11-30 17:05:16 +00:00
Dimitrios Stoupis c16b10236e
Modified the HTML code to show a more friendly environment 2019-11-30 16:55:32 +00:00
Crivaledaz 0c1eaf3a31 Refresh project and Readme
Adapt vars name for consistency
Add a light CSS design
2019-05-02 15:32:41 +02:00
Denis CLAVIER 8fddce2fa1
Correct some bug in Docker/README.md 2019-03-19 22:14:09 +01:00
Crivaledaz 07e6877192 Add Docker module 2019-03-19 21:58:37 +01:00
Denis CLAVIER 033a11da5f
Merge pull request #26 from patrickober/master
fix for issue #24
2019-03-06 23:04:39 +01:00
patrickober a825e2c29d fix for issue #24 2019-02-20 22:14:51 +01:00
Denis CLAVIER b6bd1551ca
Version 5.0.1 supported
The new mattermost version works fine with Mattermost-LDAP
2018-07-13 14:59:39 +02:00
Denis CLAVIER 8117385918 Correct few mistake in Readme and exception handler in connexion.php 2018-05-19 23:28:01 +02:00
Denis CLAVIER 5afe073619 Patch for Mattermost 4.4 -> 4.9 + some bug fix 2018-05-19 18:04:13 +02:00
Denis CLAVIER 502ae7ecb4
Merge pull request #15 from Rudloff/patch-1
Missing charset
2017-11-20 16:00:16 +01:00
Pierre Rudloff 6039291522
Missing charset 2017-11-14 17:13:48 +01:00
Denis CLAVIER a8669ac06d Merge pull request #7 from fposchmann/master
Update init_postgres.sh - Typo corrected
2017-08-31 16:02:55 +02:00
Fedor Poschmann c0b3b30e19 Update init_postgres.sh 2017-08-29 19:54:51 +03:00
Crivaledaz a375cdd9eb LDAP support improvment (issue #6) + some bugs corrected 2017-08-26 15:54:24 +02:00
Crivaledaz b57fa59ea9 Add service account support to get LDAP information (resource.php) and correct some minor bugs 2017-08-21 23:10:20 +02:00
Crivaledaz 9b7cbdb413 Add Puppet module for Mattermost-LDAP 2017-08-17 00:34:12 +02:00
Crivaledaz d0aaf4723e Better organization for configuration - add config file 2017-08-17 00:05:49 +02:00
Denis CLAVIER fa3ca7a924 Correct README page layout
Some data were not shown
2017-08-07 21:10:06 +02:00
Crivaledaz e7058c90d7 Initial Commit - First version 2017-08-07 21:01:11 +02:00