LDAP OpenLDAP connections

We have Matrix setup using LDAP with AD but I would like to try the openldap bridge.
The AD bridge seems to have a problem with larger or nested groups so I want to try and filter the results through openldap.

Does anyone have examples of this or how to use the "Auth Filter".

I would like to filter by "uid=staffid" or something similar