ZF-4495: LDAP connection bug with special characters
authentication against Microsoft ADS (LDAP) does not work with special characters inside username!
The problem is inside: public function getCanonicalAccountName($acctname, $form = 0) ... $uname = strtolower($uname); ..
If using a DN Form of authentication ex. "schäfer@abc.de" the authentication needs DN: sch\303\firstname.lastname@example.org
The stringtolower conversion corrupts the uname data and the whole authentication does not work for usernames with special characters!
Also strtolower can be critical in situations with different charsets!
Maybe this transformation can be optional or must not be used at this place.
Hope, that this fix will find his way in one of the next releases, because as a workaround i manually have to comment out this line of code.
Best wishes, Holger Schäfer