Skip to content

digihum/omeka-s-ldap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Omeka-S LDAP Module

** This module is currently outdated and not maintained **

This module was last updated for Omeka-S beta2. Multiple issues have been raised regarding this module failing, and there are no current plans to address them.

Biblibre's LDAP module achieves the same objective and works for Omeka-S ^2.0.0 https://github.com/biblibre/omeka-s-module-Ldap.

This plugin allows users to be authenticated against an external LDAP authority.

Requires php-ldap to be installed on the host server.

Installation

Firstly, make sure that there is an existing user with an email address that can be authenticated via LDAP with 'Global Administrator' privileges. Once LDAP is enabled you will not be able to log in with existing accounts.

Copy the plugin source code into $OMEKA_ROOT/modules. If you installed via git clone, run 'composer install' to install dependencies.

In $OMEKA_ROOT/modules/LDAP/configcopy ldap-config.ini.example to ldap-config.ini and add the settings for the ldap server you wish to authenticate against.

Then go to the 'modules' UI in Omeka-S and enable the LDAP module.

Gotchas

Omeka-S uses emails as the primary form of user identification, not usernames. At the moment this plugin sends the string before the '@' symbol in the submitted email address as the username to LDAP and then uses the entire submitted email address to locate the user in Omeka-S.

Recovery

If something goes wrong deleting $OMEKA_ROOT/modules/LDAP or renaming it temporarily to LDAP2 will disable the plugin and allow you to log in using the default Omeka-S login system.

Future plans

  • Allow both LDAP authenticated and locally authenticated users to work at the same time
  • Customisable relationship between email address and LDAP username

About

LDAP plugin for Omeka-S

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages