Update LDAP config for #2085

This commit is contained in:
James Cole 2019-02-15 07:39:12 +01:00
parent 0782354160
commit 19710c3eab
2 changed files with 23 additions and 5 deletions

View File

@ -164,7 +164,8 @@ return [
|
*/
'domain_controllers' => explode(' ', env('ADLDAP_CONTROLLERS', '127.0.0.1')),
//'domain_controllers' => explode(' ', env('ADLDAP_CONTROLLERS', '127.0.0.1')),
'hosts' => explode(' ', env('ADLDAP_CONTROLLERS', '127.0.0.1')),
/*
|--------------------------------------------------------------------------
@ -219,8 +220,10 @@ return [
|
*/
'admin_username' => env('ADLDAP_ADMIN_USERNAME', ''),
'admin_password' => env('ADLDAP_ADMIN_PASSWORD', ''),
//'admin_username' => env('ADLDAP_ADMIN_USERNAME', ''),
//'admin_password' => env('ADLDAP_ADMIN_PASSWORD', ''),
'username' => env('ADLDAP_ADMIN_USERNAME', ''),
'password' => env('ADLDAP_ADMIN_PASSWORD', ''),
/*
|--------------------------------------------------------------------------
@ -246,8 +249,8 @@ return [
| If you need to be able to change user passwords on your server, then an
| SSL or TLS connection is required. All other operations are allowed
| on unsecured protocols.
|
| One of these options are definitely recommended if you
|
| One of these options are definitely recommended if you
| have the ability to connect to your server securely.
|
*/

View File

@ -77,6 +77,21 @@ return [
'provider' => Adldap\Laravel\Auth\DatabaseUserProvider::class,
//'provider' => Adldap\Laravel\Auth\NoDatabaseUserProvider::class,
/*
|--------------------------------------------------------------------------
| Model
|--------------------------------------------------------------------------
|
| The model to utilize for authentication and importing.
|
| This option is only applicable to the DatabaseUserProvider.
|
*/
'model' => FireflyIII\User::class,
/*
|--------------------------------------------------------------------------
| Rules