Index: sites/all/modules/developer_authentication/developer_authentication.module
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- sites/all/modules/developer_authentication/developer_authentication.module	(revision )
+++ sites/all/modules/developer_authentication/developer_authentication.module	(revision )
@@ -107,7 +107,7 @@
   }
 
   // Clean the user name.
-  $uname = _developer_authentication_clean_ldap_string($uname);
+  _developer_authentication_clean_ldap_string($uname);
   // Search for the user's DN (required because the main user attribute is
   // full name, not uid...).
   $ureturn = ldap_search($ldc, $base_dn, "($fname=$uname)", array('dn'));
@@ -133,7 +133,7 @@
 /**
  * Clean a string for usage in an LDAP query.
  */
-function _developer_authentication_clean_ldap_string($str) {
+function _developer_authentication_clean_ldap_string(&$str) {
   $str = str_replace(array('\\', '*', '(', ')'),
    array('\5c', '\2a', '\28', '\29'), $str);
   for ($i = 0; $i < strlen($str); $i++) {
