okfn/ckanext-ldap

Name: ckanext-ldap

Owner: Open Knowledge International

Description: CKAN plugin to provide LDAP authentication

Created: 2018-04-06 10:31:17.0

Updated: 2018-04-06 10:47:48.0

Pushed: 2018-04-06 10:47:46.0

Homepage: null

Size: 53

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

ckanext-ldap

Overview

This plugin provides LDAP authentication for CKAN. Features include:

Requirements

This plugin uses the python-ldap module. This available to install via pip:

p install python-ldap

Unless you install this from a binary, then building this will require ldap2, sasl2 and ssl development packages to be installed on your system. Under Debian and derivatives these can be installed by doing:

get install libldap2-dev libsasl2-dev libssl-dev
Configuration

Configuration of an LDAP client is always tricky. Unfortunately this really varies from system to system - we cannot provide general advice, you need to check with the LDAP server administrator.

The plugin provides the following required configuration items:

In addition the plugin provides the following optional configuration items:

Note: Configuration options without the ckanext. prefix are deprecated and will be eventually removed. Please update your settings if you are using them.

CLI Commands

To create the organisation specified in ckanext.ldap.organization.id use the paste command:

paster –plugin=ckanext-ldap ldap setup-org -c /etc/ckan/default/development.ini


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.