FreeRadius LDAP connection to Google Workspce
Benjamin Diehl
benjamin.diehl at foundationacademy.net
Fri Oct 1 16:03:57 CEST 2021
Started from a completely fresh ubuntu and follow exactly what you stated, still got the same error
rlm_ldap (ldap): Opening additional connection (0), 1 of 32 pending slots used
rlm_ldap (ldap): Connecting to ldaps://ldap.google.com:636
TLS: can't connect: (unknown error code).
rlm_ldap (ldap): Bind with cn=admin,dc=foundationacademy,dc=net to ldaps://ldap.google.com:636 failed: Can't contact LDAP server
rlm_ldap (ldap): Opening connection failed (0)
rlm_ldap (ldap): Removing connection pool
/etc/freeradius/3.0/mods-enabled/ldap[8]: Instantiation failed for module "ldap"
On Oct 1, 2021, 9:34 AM -0400, Alan DeKok <aland at deployingradius.com>, wrote:
> On Oct 1, 2021, at 9:29 AM, Benjamin Diehl <benjamin.diehl at foundationacademy.net> wrote:
> >
> > When I add the if statement I get this error
> >
> > /etc/freeradius/3.0/sites-enabled/default[451]: Invalid location for 'if'
> > Errors reading or parsing /etc/freeradius/3.0/radiusd.conf
>
> So... don't put the "if" statement there?
>
> I also said to configure the LDAP module. And ignore everything else. Perhaps just edit mods-available/ldap as I suggested, and try that?
>
> Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list