Here you go guys, we had extended the FreeRADIUS plugin by LDAP, but with no search filters.
Now there’s the thing to go, really simple, just look at the Pull Request and learn how easy it is to extend plugins:
https://github.com/opnsense/plugins/pull/488/files
Tested against OpenLDAP and Windows AD 🙂