This is my LDAP configuration file.
enable = true
autoregister = true
id_field = sAMAccountName
object_context = ou=Users,DC=satc,DC=edu,DC=br
search_context = OU=Users,DC=satc,DC=edu,DC=br
email_field = mail
surname_field = sn
givenname_field = givenName
phone_field = telephoneNumber
search_scope = 2
search.user = CN=Administrador,CN=Users,DC=satc,DC=edu,DC=br
search.password = Password
If I try to perform a search on the server where dspace is installed, using the command:
ldapsearch -h satc.edu.br -b "DC=satc,DC=edu,Dc=br" -D "CN=Administrador,CN=Users,DC=satc,DC=edu,DC=br" -w Password "(sAMAccountName=marcelo.silveira)"
It returns me the user data normally
But when I try to log in using LDAP, it informs that the user is invalid.
Any idea? I have already tried setting up using the \, without it, and all cause the same problem.