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.
There are various places where the server configuration status (enabled/disabled) is not checked before performing LDAP server requests. Adding checks for server status would allow for a more flexible system that can be toggled on and off as needed. For instance: developer environment - server config disabled, production environment - server config enabled.
Comment | File | Size | Author |
---|---|---|---|
#4 | ldap-check-server-status-2043539-4.patch | 5.05 KB | recrit |
#1 | ldap-check-server-status-2043539-1.patch | 5 KB | recrit |
Comments
Comment #1
recrit CreditAttribution: recrit commentedthe patch attached adds server config status checks in the majority of places where server requests would be made. This most likely does not capture all of them.
Comment #2
recrit CreditAttribution: recrit commentedComment #3
johnbarclay CreditAttribution: johnbarclay commentedThanks. We should just leave this issue open until there is more coverage. I'll commit these as they come along. A search for calls to the get server functions should locate them all.
Comment #4
recrit CreditAttribution: recrit commentedupdated patch for latest 7x.-2.x-dev
Comment #5
grahlComment #6
grahlComment #10
grahlCan someone confirm, that this works with our regressions? Ideally in multiple environments?
Comment #11
grahlWe don't need this in 8 due to the configuration system in general for multiple environments and workarounds for 7 have been provided in the related issue. Therefore I'm closing this issue.