I’m working on implementing a solution in which I’m going to use FreeRADIUS with Google Secure LDAP to authenticate Unifi WPA2 Enterprise WiFi users. The problem I’m facing is that FreeRADIUS can’t bind to Google’s LDAPS server, however, when using ldapsearch<\/strong> I can successfully retrieve data from it.<\/p>\n
Here’s my ldap<\/strong> configuration file contents:<\/p>\n TLS section as follows:<\/p>\n The above entries are exactly the same as the ones I’m using with ldapsearch. I should add, that I’m using an Ubuntu 24.04.1 AWS image (the firewall rules are updated accordingly) and following this nifty guide > I’m working on implementing a solution in which I’m going to use FreeRADIUS with Google Secure LDAP to authenticate Unifi WPA2 Enterprise WiFi users. The problem I’m facing is that FreeRADIUS can’t bind to Google’s LDAPS server, however, when using ldapsearch<\/strong> I can successfully retrieve data from it.<\/p>\n Here’s my ldap<\/strong> configuration file contents:<\/p>\n TLS section as follows:<\/p>\n The above entries are exactly the same as the ones I’m using with ldapsearch. I should add, that I’m using an Ubuntu 24.04.1 AWS image (the firewall rules are updated accordingly) and following this nifty guide > Did you ever make progress with this? I’m hitting the same wall.<\/p>","upvoteCount":1,"datePublished":"2025-01-04T12:42:37.397Z","url":"https://community.spiceworks.com/t/freeradius-with-google-secure-ldap-connectivity-issues/1145297/2","author":{"@type":"Person","name":"spiceuser-guvma","url":"https://community.spiceworks.com/u/spiceuser-guvma"}},{"@type":"Answer","text":" Yes. At first, I thought that FreeRadius couldn’t bind with Google LDAPS but it ended up being something completely different. In my case, debug mode was saying this:<\/p>\n So I wrongly assumed that the bind didn’t happened. In reality, the configuration was correct, but the prompts I sent for testing using What is the issue you’re facing? Perhaps I might be able to help.<\/p>","upvoteCount":1,"datePublished":"2025-01-22T14:28:09.031Z","url":"https://community.spiceworks.com/t/freeradius-with-google-secure-ldap-connectivity-issues/1145297/3","author":{"@type":"Person","name":"itschriss","url":"https://community.spiceworks.com/u/itschriss"}},{"@type":"Answer","text":" I just ran into the same thing. It took me a few minutes before I realized I never enabled the service on the Google side of things.<\/p>\n Once I turned it on inside Google Workspace, it worked as expected when I ran systemctl restart freeradius.<\/p>\n Hopefully you already figured that out (if the same issue) and if not, hopefully this helps others.
\n<\/a>ldap {
\nserver = ‘ldaps://ldap.google.com’
\nport = 636
\nidentity = ‘REMOVED’
\npassword = REMOVED
\nbase_dn = ‘dc=REMOVED,dc=com’
\n}<\/h2>\n
\n<\/a>tls {
\nstart_tls = no
\ncertificate_file = /etc/freeradius/3.0/certs/ldap.crt
\nprivate_key_file = /etc/freeradius/3.0/certs/ldap.key
\n}<\/h2>\nhttps://nasirhafeez.splashnetworks.co/freeradius-with-google-g-suite-workspace-secure-ldap-for-wpa2-enterprise-wifi/<\/code>. Any help would be much appreciated!<\/p>","upvoteCount":3,"answerCount":4,"datePublished":"2024-11-22T11:24:53.043Z","author":{"@type":"Person","name":"itschriss","url":"https://community.spiceworks.com/u/itschriss"},"suggestedAnswer":[{"@type":"Answer","text":"
\n<\/a>ldap {
\nserver = ‘ldaps://ldap.google.com’
\nport = 636
\nidentity = ‘REMOVED’
\npassword = REMOVED
\nbase_dn = ‘dc=REMOVED,dc=com’
\n}<\/h2>\n
\n<\/a>tls {
\nstart_tls = no
\ncertificate_file = /etc/freeradius/3.0/certs/ldap.crt
\nprivate_key_file = /etc/freeradius/3.0/certs/ldap.key
\n}<\/h2>\nhttps://nasirhafeez.splashnetworks.co/freeradius-with-google-g-suite-workspace-secure-ldap-for-wpa2-enterprise-wifi/<\/code>. Any help would be much appreciated!<\/p>","upvoteCount":3,"datePublished":"2024-11-22T11:24:53.116Z","url":"https://community.spiceworks.com/t/freeradius-with-google-secure-ldap-connectivity-issues/1145297/1","author":{"@type":"Person","name":"itschriss","url":"https://community.spiceworks.com/u/itschriss"}},{"@type":"Answer","text":"
rlm_ldap (ldap): Waiting for bind result...\nber_get_next failed, errno=11.\n<\/code><\/pre>\n
radtest<\/code> were wrong.<\/p>\n
\n