diff mod_auth_ldap/mod_auth_ldap.lua @ 3188:5c3f3f5a4377

Backed out parts of changeset a81456a13797
author Kim Alvefur <zash@zash.se>
date Wed, 18 Jul 2018 15:57:13 +0200
parents a81456a13797
children 3af2da030397
line wrap: on
line diff
--- a/mod_auth_ldap/mod_auth_ldap.lua	Fri Jul 13 14:38:40 2018 +0200
+++ b/mod_auth_ldap/mod_auth_ldap.lua	Wed Jul 18 15:57:13 2018 +0200
@@ -35,18 +35,9 @@
 	local success, iterator, invariant, initial = pcall(ld[method], ld, ...);
 	if not success then ld = nil; return nil, iterator, "search"; end
 
-	module:log("debug", "success = %s, invariant = %s",
-		tostring(success),
-		tostring(invariant));
-
 	local success, dn, attr = pcall(iterator, invariant, initial);
-	module:log("debug", "success = %s, dn = %s, attr = %s",
-		tostring(success),
-		tostring(dn),
-		tostring(attr));
 	if not success then ld = nil; return success, dn, "iter"; end
 
-
 	return dn, attr, "return";
 end