Environment
Self Service Password Reset
SSPR 3.3.x
Situation
Searching for a user in the People Search module shows everyone
Search results are not filtered as expected
Resolution
Modify search filter to include proper LDAP search terms
Original (non working) filter:
(&(objectClass=Person)(|(employeeType=staff)(employeeType=teacher)))
Filter that works:
(&(objectClass=Person)(|(employeeType=staff)(employeeType=teacher))(|(sn=*%USERNAME%*)(givenName=*%USERNAME%*)(l=*%USERNAME%*)(title=*%USERNAME%*)(mail=*%USERNAME%*))
For additional documentation see "People Search LDAP Filter" at
Cause
Search filter did not include search terms.