diff --git a/lib/_autoload_modules.php b/lib/_autoload_modules.php
index 765dfd899bdba52dca796c719755ade6a0478767..5bc55bfdafb64cd929d3c284ee82cb1cd1a96e88 100644
--- a/lib/_autoload_modules.php
+++ b/lib/_autoload_modules.php
@@ -45,6 +45,7 @@ function temporaryLoader($class)
         'SimpleSAML_IdP_LogoutIFrame' => 'SimpleSAML_IdP_IFrameLogoutHandler',
         'SimpleSAML_IdP_LogoutTraditional' => 'SimpleSAML_IdP_TraditionalLogoutHandler',
         'SimpleSAML_Auth_Default' => 'SimpleSAML_Auth_DefaultAuth',
+        'SimpleSAML_Auth_LDAP' => 'SimpleSAML_Module_ldap_Auth_Ldap',
     ];
     if (array_key_exists($class, $renamed)) {
         // the class has been renamed, try to load it and create an alias