- 🇩🇪Germany tgauges
I had the same problem on one of my sites and applying the patch fixed the problem.
Changing the status to "Needs Review" for one or more additional reviews. - First commit to issue fork.
When a valid profile applies no authorizations,
- ldap_authentication shows warning to end-user: "The site logon is currently not working due to a configuration error. Please see logs for additional details.".
- logs show "LDAP Authentication is configured to deny users without LDAP Authorization mappings, but 0 LDAP Authorization consumers are configured.".
- configure LDAP authentication with "Deny access to users without LDAP Authorization Module authorization mappings such as Drupal role"
- configure a valid LDAP authorization profile (ex: allowing specific LDAP groups only)
- login as a valid LDAP user, whose account won't match the authorization profile
In the Drupal\ldap_authentication\Controller\LoginValidatorBase::checkAllowedExcluded, distinguish between a valid profile and a profile that did return no authorization
- Review proposed approach in attached patch
-
-
-
Needs review
4.3
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I had the same problem on one of my sites and applying the patch fixed the problem.
Changing the status to "Needs Review" for one or more additional reviews.