-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix LDAP auth configuration paths. #2167
Conversation
Looks good. Seems docs for ldap upgrade were half-complete. Please rename the migration. Will inspect later when I have a PC |
What convention should the migration be named after? |
Not after a version three releases ago. I suggest fix_ldap or something. Keep it simple. |
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.
Looks good. |
* develop: (21 commits) Update lock file Update change logs and config files. Enable norsk, update version of DB Various language string updates. Norwegian strings. Improve installer middleware for Sandstorm. Fix some issues with importer #2166 Other delete thing. More debug things. Extra debug info for #2159 and some kernel changes. Extra debug info for #2159 Fix #2173 Rename class and add copyright statement @wrouesnel #2167 Fix LDAP auth configuration paths. Fix some cache issues and a version bump. Updated file list. Updated list. New file list. Update composer file. Small fix in changelog. ...
@wrouesnel would you mind posting an example of what your .env file looks like with this change? Upon upgrading to this version I am unable to authenticate with FreeIPA again, but as you were able to get this working I'm assuming it is down to a slight configuration issue on my end. |
@MrShibe A (sanitized) version of the LDAP section of my config file
|
This commit fixes parameters broken in the latest version of
adldap2
.Specifically:
adldap
auth parameters have changed in the latest version.identities
anddiscover
has changed todiscover_users_by
,auth
has changed tobind_users_by
tracking LDAP users as adldap2 wants to.
Fixes issue #1933 (completely).
Changes in this pull request:
objectguid
config/ldap_auth.php
to match upadldap2
With these changes I was able to get authentication with FreeIPA working correctly versus current master.
@JC5