[ckan-dev] CKAN and LDAP

Haq, Salman Salman.Haq at neustar.biz
Mon Nov 26 20:01:52 UTC 2012


From: "<Brandao Vidal>", Ralph <ralph.brandao.vidal at fokus.fraunhofer.de<mailto:ralph.brandao.vidal at fokus.fraunhofer.de>>
Reply-To: CKAN Development Discussions <ckan-dev at lists.okfn.org<mailto:ckan-dev at lists.okfn.org>>
Date: Monday, November 26, 2012 2:19 PM
To: "ckan-dev at lists.okfn.org<mailto:ckan-dev at lists.okfn.org>" <ckan-dev at lists.okfn.org<mailto:ckan-dev at lists.okfn.org>>
Subject: [ckan-dev] CKAN and LDAP

Hi ,

does anyone know if it is possible to  store CKAN’s  user data  in an external  storage instance , like LDAP ?

Thanks,

Ralph


If you mean "Is it possible to authenticate a user against a private LDAP instance" in CKAN, then the answer is "yes".

Here are the basic steps:

 1.  Implement an authenticator plugin that sub-classes one of the *Authenticator classes in the Python LDAP module. It will contain the logic to establish a connection and perform the authentication.
 2.  Update `who.ini` to load your authenticator plugin.

That's really it. A bit of glue code and a few lines of config.

HTH,
Salman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20121126/fc6d22f1/attachment-0001.html>


More information about the ckan-dev mailing list