Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm seeing the Drupal 8 version of this module listed as green (tested and reviewed), but then also see a notice above that says the Drupal 8 module isn't usable yet. Can anyone confirm this module is working on Drupal 8?
We're having a heck of a time implementing this module into D8.
When I test the AD server we've added to Drupal 8, we're getting these results:
Binding with DN for non-anonymous search (). Using password stored in configuration.
Failed to bind to server. ldap error #82 Success FAIL
Thanks for any information anyone might have to offer up.
cheers,
ev
Comment | File | Size | Author |
---|---|---|---|
#6 | sample_openldap_server.txt | 966 bytes | tenken |
Comments
Comment #2
grahlHi ev
Alpha1 can in general be used, but not all components work flawlessly yet. Also, the code isn't really covered by tests yet. For example, nested groups, provisioning to LDAP or the UI for the user field assignment are buggy but if you just need to authenticate users and have plain group mappings, you can make it work.
Your particular issue seems to stem from an incorrect service account setup and debugging that from afar is not trivial. You might want to install a test site with Drupal 7, that way you can exclude the 8 branch from being the cause of your problems but again, I doubt that the error you see is an actual bug.
Have you also enabled the ldap_help module and detailed watchdog logging? It can help narrow down configuration issues.
Comment #3
queenvictoria CreditAttribution: queenvictoria at Holly commentedHi design_ev. I'm happy to workshop with you to resolve the issues you are seeing. I have been using this module with an AD server in production for most of the year. Also I've removed your self assignment in order that this issue receive more attention. Regards.
Comment #4
tenken CreditAttribution: tenken commentedHi --
I'm trying to setup an OpenLdap server with alpha1 from a drush install which fetched alpha1. I have a D7 site on LDAP 7.x-2.x and it connects fine and functions with the ldap module and our campus ldap service. The same exact configuration yields the following from the "Test" option of the Servers tab (works in D7):
But the Server configurations are identical in 7.x and 8.x and the service account bind dn and password are identical. Is OpenLdap working/tested yet? Is there any information I can provide to help?
Comment #5
queenvictoria CreditAttribution: queenvictoria at Holly commentedOpenLDAP should be fine with D8. I'm running it in a Docker environment. Please could you share your config files without passwords? You can export them using the Development > Configuration > export single tool in D8.
Comment #6
tenken CreditAttribution: tenken commentedSure. I have redacted the password and uid fields for Bind. All other values are what's exported from Admin > Configuration > Config Syncronization > Single Item:
Config Type: Ldap Server
Config Name: my campus service
In looking through the db log for errors I see the following regarding ldap:
Comment #7
grahlPlease try again without the option to encrypt the password in the database. See also https://www.drupal.org/node/2781359
Comment #8
tenken CreditAttribution: tenken commentedGreetings --
I have just tried with encryption disabled and clearing/saving the password for the server. And connecting works now! Thanks so much!
I do see that in the future the mechanism for storing the password may change. Thanks for the heads up.
Comment #9
queenvictoria CreditAttribution: queenvictoria at Holly commented