Ldap does not work

Hello team, I am a beginner in the use of Graylog Server, I tried to configure Graylog LDAP but it does not work, I am running Graylog version 3.1. I did the connection test and it worked perfectly but when i tried testing with a user, it failed.
I am occupying FreeIPA as an LDAP server.

Below are the error messages:



I hope you can help me

are you able to use the query string on the command line to get a return?

cause our defaults might not be like your ldap is structured…

I perform the following query on the FreeIPA server:ldapsearch -z 0 -H ldap://freeipa.hugo.com:389 -W -D “uid=hugo,cn=users,cn=accounts,dc=freeipa,dc=hugo,dc=com” -b “dc=freeipa,dc=hugo,dc=com” “(objectclass=*)”.
And it shows me information, I can detect that the error is from my search pattern, but how do I know which is the correct search pattern?

I do not know how your LDAP is structured and what object typs you are using …

Maybe the Documentation guide you: https://docs.graylog.org/en/3.1/pages/users_and_roles/external_auth.html

But xou search in the curl command for all objects, but the screenshot of the configuration is using InetOrgPerson

Hello, I already found a solution to my problem but now a question arose …

Why does it only allow me to log in with a single user of my LDAP server and when creating other users I get an authentication error?

Why does it only allow me to log in with a single user of my LDAP server and when creating other users I get an authentication error?

Maybe you have different groups for the users? Or the other users do not fit to the search query?

1 Like

I verify the groups to which it belongs and my search pattern with the ldapsearch command, but they are in the same place, however in the test it only shows me the information of a single user even if I try it with others