Will this module work with the Drupal LDAP module? The LDAP server we are using is Duo enabled. Here's the problem we are experiencing while using a Duo-enabled LDAP server:

  1. User logins to the Drupal site
  2. Drupal establishes a connection to the Duo-enabled LDAP server
  3. Drupal sits and waits until the LDAP server asks the user for confirmation on their default Duo device
  4. If the users doesn't accept the Duo authentication within the default time( 30 seconds), then Drupal will WSOD

Has anyone else been able to successfully authenticate using the Drupal LDAP module?

Comments

humansky created an issue.

rgchi’s picture

Yes and no. We have, but non-admin users see a Notice alert. Though things still function as needed. (See: https://www.drupal.org/node/2697897)

$ drush pml | grep ldap | grep Enabled                           
 Lightweight Directory Access Protocol  LDAP Authentication (ldap_authentication)       7.x-2.0-beta8+19-dev 
 Lightweight Directory Access Protocol  LDAP Servers (ldap_servers)                             7.x-2.0-beta8+19-dev 
 Lightweight Directory Access Protocol  LDAP User Module (ldap_user)   
catapipper’s picture

I have gotten it to successfully work with the LDAP module. It might have something to do with the last update to 1.10 but I'm not sure. The only problem I have found is that if Duo is not in the permissions to Authenticated user or Anonymous user it will just bypass the Duo authenticator and go ahead and let the user in. We have it set to All users must use Duo to login and have had no issues in testing. For the users who have not signed up with Duo it simply works like a normal site login with LDAP.

I no longer see the notice anymore except in the logs. I am working on a patch to get rid of it in the logs as well.
(See: https://www.drupal.org/node/2697897)