From 26cea9e1bd35bd0c188fbe031ecc46484d2d7e25 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Wed, 1 Sep 2010 08:56:54 +0000 Subject: [PATCH] bugfix: using strtolower for the loginname/mailboxname breaks CaseSensitive Authentication --- emailadmin/inc/class.emailadmin_smtp_ldap.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emailadmin/inc/class.emailadmin_smtp_ldap.inc.php b/emailadmin/inc/class.emailadmin_smtp_ldap.inc.php index d228d9ff38..338e0bcb66 100644 --- a/emailadmin/inc/class.emailadmin_smtp_ldap.inc.php +++ b/emailadmin/inc/class.emailadmin_smtp_ldap.inc.php @@ -457,7 +457,8 @@ class emailadmin_smtp_ldap extends defaultsmtp $mbox .= '@'.$domain; break; } - $mbox = strtolower($mbox); + //strtolower breaks CaseSensitive Authentication + //$mbox = strtolower($mbox); return $mbox; }