• Aucun résultat trouvé

The DSpace Course

N/A
N/A
Protected

Academic year: 2022

Partager "The DSpace Course"

Copied!
12
0
0

Texte intégral

(1)

The DSpace Course

Module – Configuring LDAP

(2)

Module objectives

By the end of this module you will:

Understand how DSpace uses LDAP for authentication

Be able to configure a DSpace instance to authenticate against an LDAP server

Know which tools to use and how to use them in order to test LDAP connection issues

(3)

An introduction to LDAP

LDAP – Lightweight Directory Access Protocol

Tree structure:

DC = domain component

OU = organisational unit

CN = common name

DN = distinguished name

My DN is:

CN=stuart,OU=users,DC=testathon,DC=net

(4)

How DSpace uses LDAP

How does DSpace use LDAP?

(5)

Stackable authentication

Stackable authentication

Stacks different authentication mechanisms on top of each other

Each is tried until one succeeds, or none succeed

(6)

LDAP Settings

LDAP settings:

ldap.provider_url = ldap://ldap.testathon.net:389/

ldap.id_field = cn

ldap.object_context = OU=users,DC=testathon,DC=net

ldap.search_context = OU=users,DC=testathon,DC=net

ldap.email_field = mail

ldap.surname_field = sn

ldap.givenname_field = givenName

ldap.phone_field = telephoneNumber

(7)

Enabling LDAP

Stackable authentication setting:

plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \

org.dspace.authenticate.LDAPAuthentication

Or

plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \ org.dspace.authenticate.LDAPAuthentication, \ org.dspace.authenticate.PasswordAuthentication

ldap.enable = true (JSPUI only)

(8)

Testing your LDAP settings

Use an LDAP client

LDAP Browser:

http://www-unix.mcs.anl.gov/~gawor/ldap/

Allows you to use the settings in dspace.cfg to log in to an LDAP server and view the output visually

(9)

LDAP Browser

Log in:

(10)

LDAP Browser

See the tree:

(11)

Practical – enable LDAP

LDAP settings:

ldap.provider_url = ldap://ldap.testathon.net:389/

ldap.id_field = cn

ldap.object_context = OU=users,DC=testathon,DC=net

ldap.search_context = OU=users,DC=testathon,DC=net

ldap.email_field = mail

ldap.surname_field = sn

ldap.givenname_field = givenName

ldap.phone_field Bye bye= telephoneNumber

Users are: stuart, john and carol.

Passwords are the same as the usernames

(12)

Credits

These slides have been produced by:

Stuart Lewis & Chris Yates

Repository Support Project

http://www.rsp.ac.uk/

Part of the RepositoryNet

Funded by JISC

http://www.jisc.ac.uk/

Références

Documents relatifs

BASF : 23 - Beru AG : 4èmede couv - Bosch: 2émede couv - CongrèsConfort SIA: 3émede couv - dSPACE : 3 - Electricfil Automotiv€ : 5 - IFP : 9 - Interactions RH : 39 - MTA: 33

[r]

► Mais conçu aussi pour répondre à tout type de Mais conçu aussi pour répondre à tout type de besoin d’annuaire grâce à un modèle de données besoin d’annuaire grâce à

–Domaine LDAP : authentification sur machines unix récentes et annuaires divers (mail, …).. –Domaine NIS: authentification sur machines Unix qui ne supportent pas

 Describes what operations can be performed on the information stored in an LDAP directory..

LDAP (Lightweight Directory Access Protocol, traduisez Protocole d'accès aux annuaires léger et prononcez "èl-dap") est un protocole standard permettant de gérer des

All synchronous routines return an indication of the outcome of the operation (e.g, the constant LDAP_SUCCESS or some other error code).. The asynchronous routines return

The <dn> is an LDAP Distinguished Name using the string format described in [1], with any URL-illegal characters (e.g., spaces) escaped using the % method described in RFC