LDAP - Add a filter to an LDAP URL so that only users belonging to a certain group can access the app
How is your LDAP server's memberOf attribute created? Have you checked to make sure that your users actually have memberOf attributes?
In OpenLDAP for example, memberOf is only populated if you use the memberof overlay or manage them with dynamic lists.