mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-21 11:45:14 +00:00
Fix LDAP auth configuration paths.
This commit fixes parameters broken in the latest version of `adldap2`. Specifically: * `adldap` auth parameters have changed in the latest version. * "usernames" has become `identities` and `discover` has changed to `discover_users_by`, `auth` has changed to `bind_users_by` * Add the missing objectguid field to the users table for adldap2. * This is added as a nullable (optional) field at the moment to support tracking LDAP users as adldap2 wants to.
This commit is contained in:
@@ -143,7 +143,7 @@ return [
|
||||
|
||||
'scopes' => $scopes,
|
||||
|
||||
'usernames' => [
|
||||
'identifiers' => [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
@@ -173,8 +173,8 @@ return [
|
||||
|
||||
'ldap' => [
|
||||
|
||||
'discover' => envNonEmpty('ADLDAP_DISCOVER_FIELD', 'userprincipalname'),
|
||||
'authenticate' => envNonEmpty('ADLDAP_AUTH_FIELD', 'distinguishedname'),
|
||||
'locate_users_by' => envNonEmpty('ADLDAP_DISCOVER_FIELD', 'userprincipalname'),
|
||||
'bind_users_by' => envNonEmpty('ADLDAP_AUTH_FIELD', 'distinguishedname'),
|
||||
|
||||
],
|
||||
|
||||
|
Reference in New Issue
Block a user