mod_auth_ldap: Update for new usermanager.test_password syntax
authorMatthew Wild <mwild1@gmail.com>
Wed, 21 Jul 2010 21:04:02 +0100
changeset 218 4a91047f9b5e
parent 217 3da3d6480e65
child 219 6cdc313cf0eb
mod_auth_ldap: Update for new usermanager.test_password syntax
mod_auth_ldap/mod_auth_ldap.lua
--- 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);