BorisMorel/LdapBundle — pull request #19 by AndrewCooper (2012-02-07 17:06:48+00:00)
Title: Vac

2 changes here.

One adds escaping in ldap_search filters, so things like dn=Cooper\, Andrew,... can be properly searched.

The other change modifies the criteria for equality of the roles of an LdapUser. The results of an ldap_search for group membership are not in a guaranteed order so a plain equality test on the arrays isn't sufficient.