HOW TO ENABLE LOGIN BY LDAP ACCOUNT - DSPACE 7

819 views
Skip to first unread message

Giang Trịnh

unread,
Jan 20, 2022, 5:01:13 AM1/20/22
to DSpace Technical Support
Hello Every One,

Are there any body has configured successful login to dspace-7 by ldap account.
I have configured into authentication.cfg as below:
plugin.sequence.org.dspace.authenticate.AuthenticationMethod = org.dspace.authenticate.PasswordAuthentication
plugin.sequence.org.dspace.authenticate.AuthenticationMethod = org.dspace.authenticate.LDAPAuthentication
plugin.sequence.org.dspace.authenticate.AuthenticationMethod = org.dspace.authenticate.OrcidAuthentication

Afterthat, I have enabled into authentication-ldap.cfg as below:
authentication-ldap.enable = true
authentication-ldap.autoregister = true
authentication-ldap.provider_url = ldap://192.168.66.68:636/
authentication-ldap.id_field = SamAccountName
and there are some others thing..

And the UI render only Login with ORCID ID button, and it doesn't display login with ldap buttons. I have tried with shibboleth and UI also render login with Shibboleth. Except login with ldap button. Are there any one has been configure success dspace 7 or dspace cris 7 with LDAP can give me some advice about this case.
LDAP.JPG

Thank you very much.
Regards
Giang

Tim Donohue

unread,
Jan 21, 2022, 10:13:46 AM1/21/22
to DSpace Technical Support
Hi Giang,

LDAP authentication in DSpace uses the same login box as the PasswordAuthentication.  So, it does not provide a separate button.  Instead, to login via LDAP you should enter your LDAP login & password into the "Email address" and "Password" fields displayed in that form, and click "Log in".

This is similar to the behavior that existed in DSpace 6 with regards to LDAP.  LDAP uses the built in login form, while some other authentication plugins (like Shibboleth or similar) will have a button that sends you to an external system to login.

Tim

Giang Trịnh

unread,
Feb 15, 2022, 11:16:50 PM2/15/22
to DSpace Technical Support
Hi Tim,

Thank you for your support, I have cleared with me.

Regards
Giang

Vào lúc 22:13:46 UTC+7 ngày Thứ Sáu, 21 tháng 1, 2022, Tim Donohue đã viết:
Reply all
Reply to author
Forward
0 new messages