ZF-4730: Add possibility to check group-membership in Zend_Auth_Adapter_Ldap
When using Zend_Auth_Adapter_Ldap, there is missing an additional check if a user is member of a specific group.
I found this in an old proposal: http://framework.zend.com/wiki/display/…
'group_dn' : the DN of a group the authenticated user should be member of. If the user is authenticated against the LDAP, but is not member of the specified group, the authentication will fail (not implemented yet).
This feature is also available in PEAR_Auth, and I think many people out there would like to use such a feature, because mostly not everybody in a ldap-directory should be able to login, but specific groups (like e.g. departments in a company, or just admins and not "normal users").