Index: ldapauth.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/ldap_integration/ldapauth.module,v
retrieving revision 1.1.4.14.2.5
diff -u -p -r1.1.4.14.2.5 ldapauth.module
--- ldapauth.module	17 Apr 2008 04:32:12 -0000	1.1.4.14.2.5
+++ ldapauth.module	13 Feb 2010 01:18:34 -0000
@@ -897,6 +896,11 @@ function _ldapauth_user_authenticate($na
       }
     }
   }
+  // We still don't have a valid user, so we fall back to user_authenticate
+  // which will call hook_auth for us.
+  if ($user->uid == 0) {
+    $user = user_authenticate($name, $pass);
+  }
   return $user;
 }
