DeepWoods / gsuiteRadius

Dockerized services of Freeradius with daloradius and MariaDB for secure LDAP authentication with GSuite for Education.
GNU General Public License v3.0
30 stars 3 forks source link

Add caching of user auth and LDAP groups #10

Closed nathandarnell closed 2 years ago

nathandarnell commented 2 years ago

Following the examples in the FreeRADIUS 3.2 branch for Google LDAP. Adds caching for user auth and LDAP groups. This is working in testing to significantly reduce the need to connect to Google's LDAP servers.

(https://github.com/FreeRADIUS/freeradius-server/blob/v3.2.x/raddb/mods-available/ldap_google)

https://github.com/FreeRADIUS/freeradius-server/blob/v3.2.x/raddb/mods-available/cache_auth

https://github.com/FreeRADIUS/freeradius-server/blob/v3.2.x/raddb/sites-available/google-ldap-auth

I kept all the comments from the original files so it hopefully makes more sense.