On Nov 18, 2021, at 12:39 PM, Flavio Bono <flavio@cbitsrl.it> wrote:
I state that I am a beginner and I followed some guidelines to install the freeradius, I wanted to connect wifi via radius to the active directories, but when I configured ldap I always find this error
rlm_ldap (ldap): Opening additional connection (0), 1 of 32 pending slots used rlm_ldap (ldap): Connecting to ldap//xxx.xxxxx.local:389 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind credentials incorrect: Invalid credentials rlm_ldap (ldap): Server said: 80090308: LdapErr: DSID-0C090439, comment: AcceptSecurityContext error, data 52e, v4563. rlm_ldap (ldap): Opening connection failed (0)
Read mods-available/ldap. It has instructions for converting the LDAP module configuration to the arguments use by ldapsearch.
whit
ldapsearch -H ldap://xxx.xxx.local -x -D 'cn=xxxxx,cn=users,dc=xxxxxxx,dc=local' -w P12344555551 -b "DC=bxxxxxxxx,DC=local" -a always "(objectClass=User)" cn
it works perfectly
I don't know what to feel anymore, I find nothing to help me overcome the rock, the ad server is a windows server 2019.
What you've configured in mods-available/ldap is different from what you're passing to ldapsearch. Alan DeKok.