Problem/Motivation
I updated my LDAP module to 4.x, and I got an error on the setting form of LDAP SSO Auth:
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "ldap.servers". in Drupal\Component\DependencyInjection\Container->get() (line 153 of .../web/core/lib/Drupal/Component/DependencyInjection/Container.php).
When I tried to log in with an LDAP user I got the next error:
Error: Call to undefined method Drupal\ldap_authentication\Controller\LoginValidatorLoginForm::processSsoLogin() in Drupal\ldap_sso_auth\LdapSsoAuthAuthentication->validateUser() (line 169 of .../web/modules/contrib/ldap_sso_auth/src/LdapSsoAuthAuthentication.php) #0
Proposed resolution
Refactor the module to be compatible with LDAP 4.x.
Comment | File | Size | Author |
---|---|---|---|
#2 | 3101591-to-be-compatible-with-ldap-4x-2.patch | 11.28 KB | Kosa Ilma |
Comments
Comment #2
Kosa Ilma CreditAttribution: Kosa Ilma at Brainsum for Tieto commentedI have created a patch for it.
Comment #3
dj1999 CreditAttribution: dj1999 at Brainsum for Tieto commentedComment #4
dj1999 CreditAttribution: dj1999 at Brainsum for Tieto commentedComment #5
dj1999 CreditAttribution: dj1999 at Brainsum for Tieto commented