diff mod_auth_ldap/mod_auth_ldap.lua @ 218:4a91047f9b5e

mod_auth_ldap: Update for new usermanager.test_password syntax
author Matthew Wild <mwild1@gmail.com>
date Wed, 21 Jul 2010 21:04:02 +0100
parents fa7165dd82ee
children ca6199d73d68
line wrap: on
line diff
--- a/mod_auth_ldap/mod_auth_ldap.lua	Wed Jul 21 21:03:36 2010 +0100
+++ b/mod_auth_ldap/mod_auth_ldap.lua	Wed Jul 21 21:04:02 2010 +0100
@@ -48,7 +48,7 @@
 				log("debug", "NODEprep failed on username: %s", username);
 				return "", nil;
 			end
-			return provider.test_password(prepped_username, password, realm), true;
+			return provider.test_password(prepped_username, realm, password), true;
 		end
 	};
 	return new_sasl(realm, testpass_authentication_profile);