Problem/Motivation

LDAP connection failure: Can't contact LDAP server. LDAP Server unavailable. Binding Issues

I'm not sure what is breaking and logs don't give any detail. I've updated my site from D8 -> D9 -> D10.5 smoothly. Drush updb shows no pending updates and the only errors I'm getting are that LDAP can't connect to the server. I have an identical site which went through the same update process and the LDAP settings are identical yet I can't log in on this site.

Any help appreciated. Debug below:

PHP LDAP module
'LDAP Support': enabled
'Total Links': 0/unlimited
'API Version': '3001'
'Vendor Name': OpenLDAP
'Vendor Version': '20513'
'SASL Support': Enabled
Directive:
- 'Local Value'
- 'Master Value'
ldap.max_links:
- Unlimited
- Unlimited
LDAP debug configuration
watchdog_detail: false
Users
Currently active Drupal user registration setting: admin_only
LDAP user configuration
_core:
default_config_hash: ***
drupalAcctProvisionServer: ***
ldapEntryProvisionServer: null
drupalAcctProvisionTriggers:
- drupal_on_login
ldapEntryProvisionTriggers: { }
orphanedIncludeDisabledUsers: false
orphanedDrupalAcctBehavior: ldap_user_orphan_email
orphanedCheckQty: 100
orphanedAccountCheckInterval: weekly
userConflictResolve: resolve
manualAccountConflict: conflict_associate
acctCreation: ldap_behavior
disableAdminPasswordField: false
userUpdateCronQuery: none
userUpdateCronInterval: monthly
userUpdateOnly: false
ldapUserSyncMappings:
drupal: { }
ldap: { }
Drupal LDAP servers
Server ***:
uuid: ***
langcode: en
status: true
dependencies: { }
id: ***
label: '***'
type: default
address: ldap.***
port: 636
timeout: 10
encryption: ssl
weight: null
bind_method: anon_user
binddn: null
bindpw: null
basedn:
- 'ou=people,dc=***,dc=***'
user_attr: uid
account_name_attr: ''
mail_attr: mail
mail_template: ''
picture_attr: ''
unique_persistent_attr: uid
unique_persistent_attr_binary: false
user_dn_expression: 'uid=%username,%basedn'
testing_drupal_username: ''
testing_drupal_user_dn: ''
grp_unused: false
grp_object_cat: ''
grp_nested: false
grp_user_memb_attr_exists: true
grp_user_memb_attr: ***
grp_memb_attr: ''
grp_memb_attr_match_user_attr: ''
grp_derive_from_dn: false
grp_derive_from_dn_attr: ''
grp_test_grp_dn: ''
grp_test_grp_dn_writeable: ''
Configured authorization profiles
Profile grouper_users:
uuid: ***
langcode: en
status: true
dependencies: { }
id: grouper_users
label: 'Grouper Users'
provider: ldap_provider
provider_config:
status:
server: ***
only_ldap_authenticated: false
filter_and_mappings:
use_first_attr_as_groupid: false
provider_mappings:
-
query: '***'
is_regex: false
-
query: '***'
is_regex: false
-
query: '***'
is_regex: false
-
query: ''
is_regex: false
-
query: ''
is_regex: false
consumer: authorization_drupal_roles
consumer_config: { }
consumer_mappings:
-
role: administrator
-
role: editor
-
role: editor
-
role: none
-
role: none
synchronization_modes:
user_logon: user_logon
synchronization_actions:
create_consumers: create_consumers
revoke_provider_provisioned: revoke_provider_provisioned
regrant_provider_provisioned: regrant_provider_provisioned
description: null
Configured LDAP queries

Comments

risforrocket created an issue. See original summary.

risforrocket’s picture

Just wanted to update that I am using Pantheon for hosting. They are rolling out PHP Runtime Generation 2. I pinned my site to PHP Runtime Generation 1 and ldap was able to connect again so it seems to be an issue with that update, hoping this helps someone. This can be closed.

bluegeek9’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.