My final file like this:

enable = false
autoregister = true
provider_url = ldap://satc.edu.br/
id_field = mail
object_context = dc=satc\,dc=edu\,dc=br
search_context = dc=satc\,dc=edu\,dc=br
email_field = preferredMail
surname_field = sn
givenname_field = givenName
phone_field = telephoneNumber

##### LDAP users group #####

# If required, a group name can be given here, and all users who log in
# to LDAP will automatically become members of this group. This is useful
# if you want a group made up of all internal authenticated users.
login.specialgroup = submitters

search_scope = 2
search.user = CN=userwithpermission\,DC=satc\,DC=edu\,DC=br
search.password = password



Em quarta-feira, 20 de novembro de 2019 04:50:20 UTC-3, Anda escreveu:
>
>
> Dear Marcelo,
>
> Did You resolve this problem?
> We have the same issue. I don't know what to do.
>
> Thanks You!
>
> Anda
>
> trešdiena, 2017. gada 11. oktobris 02:05:49 UTC+3, Marcelo Silveira 
> rakstīja:
>>
>> This is my LDAP configuration file.
>>
>> enable = true
>> autoregister = true
>> provider_url = ldap://satc.edu.br/
>> 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 <http://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.
>>
>

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/c6f604b6-0296-48ac-b423-c014886c0b67%40googlegroups.com.

Reply via email to