dim-0/ldapAliasSync — pull request #5 by Natureshadow (2014-07-16 22:06:24+00:00)
Title: LDAP attribute names are case-insensitive, and PHP's LDAP library conver...

...ts all replies to lower case. Catch that!

Giving attribute names in their original form in the config (e.g. mailLocalAddress) breaks the plugin because PHP's LDAP library converts attribute names in replies to lower case, and so the array keys do not match anymore.

Fix this by casting all attribute names to lower case after adding to the object.

This is compliant with LDAP specs.