Issues with plugin os-freeradius / LDAP feature

Started by hv-tech, January 29, 2021, 05:36:41 AM

Previous topic - Next topic
Hi Forum,

I recently installed the plugin os-freeradius in hope to use the LDAP module for authentication. However I've had issues running the LDAP feature and get auth issues. Now my remote LDAP server is a webmin build with Open LDAP server/client enabled onto it to provide the LDAP access to my opnsense box. I know my LDAP server works since I have a few different applications and services that use my LDAP server. So below are the logs that


I get when attempting an auth from the "tester". 

Auth: (0) Login incorrect (ldap: Failed performing search: Bad search filter)
Auth: (0) Invalid user (ldap: Failed performing search: Bad search filter): [


Also I feel it has something to do with the LDAP settings after seeing the "bad search filter" in the logs. Its unclear how to set and adjust the "Group Filter" and I tried to read up on the documentation, however the documentation doesn't even mention the LDAP feature (perhaps the Wiki needs updating?)

Wiki: https://docs.opnsense.org/manual/how-tos/freeradius.html


One last thing, even when I try to configure just LDAP under "access servers" I cannot get LDAP to work. Just putting it out there.

Regards!