Issues

ZF-12462: Zend\Ldap\Ldap.php (objectClass=posixAccount) should be removed as an invalid filter.

Description

LDAP by default allows you to set filters. By setting the initial filter for posixAccount creates an issue on many enterpise LDAP applications that we currently work on. The lowest denominator should always be used by the search which is strictly (uid=username). Users have the ability to add filters in addition to the base filter which essentially renders this filter as a major bug on some LDAP servers where the posixAccount attribute does not exist. This requires the developers to patch the Zend\Ldap\Ldap.php during every release.

I will be happy to submit a merge request on github for zf2. However this affects the version 1.x release as well, and it's a single line that needs to be changed.

Comments

The problem is that this is a BC breakage and mini releases do not allow for any BC breakage at all if the breakage does not fix a serious problem. I must admit that I don't know if there is a similar policy for ZF2 so please feel free to add a pull request to the ZF2 git repository.