Skip to content
This repository has been archived by the owner on Apr 5, 2020. It is now read-only.

Commit

Permalink
Update plugin to latest KB changes
Browse files Browse the repository at this point in the history
  • Loading branch information
fguillot committed Jun 3, 2016
1 parent 57e5c5f commit 0d63c17
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
3 changes: 1 addition & 2 deletions Auth/ReverseProxyLdapAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use Kanboard\Core\Ldap\Client as LdapClient;
use Kanboard\Core\Ldap\ClientException as LdapException;
use Kanboard\Core\Ldap\User as LdapUser;
use LogicException;

/**
* Reverse-Proxy Ldap Authentication Provider
Expand Down Expand Up @@ -53,10 +54,8 @@ public function authenticate()
}

$this->userInfo = $user;

return true;
}

} catch (LdapException $e) {
$this->logger->error($e->getMessage());
}
Expand Down
2 changes: 1 addition & 1 deletion Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function getPluginAuthor()

public function getPluginVersion()
{
return '1.0.1';
return '1.0.2';
}

public function getPluginHomepage()
Expand Down
20 changes: 16 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,27 @@ Author
- Frédéric Guillot
- License MIT

Requirements
------------

- Kanboard >= 1.0.29
- Kanboard configured to use LDAP
- Your web server must be configured as reverse-proxy

Installation
------------

- Create a folder **plugins/ReverseProxyLdap** or uncompress the latest archive in the folder **plugins**
- Copy all files under this directory
You have the choice between 3 methods:

1. Install the plugin from the Kanboard plugin manager in one click
2. Download the zip file and decompress everything under the directory `plugins/ReverseProxyLdap`
3. Clone this repository into the folder `plugins/ReverseProxyLdap`

Note: Plugin folder is case-sensitive.

Configuration
-------------

- You must have [LDAP configured in proxy mode in Kanboard](http://kanboard.net/documentation/ldap-authentication)
- [Reverse-Proxy server configured correctly](http://kanboard.net/documentation/reverse-proxy-authentication), the config parameter `REVERSE_PROXY_USER_HEADER` must be defined
- You must have [LDAP configured in proxy mode in Kanboard](https://kanboard.net/documentation/ldap-authentication)
- [Reverse-Proxy server configured correctly](https://kanboard.net/documentation/reverse-proxy-authentication), the config parameter `REVERSE_PROXY_USER_HEADER` must be defined
- You **don't need** to set to `true` those constants: `LDAP_AUTH` and `REVERSE_PROXY_AUTH`

0 comments on commit 0d63c17

Please sign in to comment.