Changeset

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 217:3da3d6480e65
children 219:6cdc313cf0eb
files mod_auth_ldap/mod_auth_ldap.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);