This is a followop to #1855660: Forgerocks OpenIDM stack / OpenDJ / OpenAM (formerly OpenSSO) and Ldap module?


A hosted set of public ldaps with the same groups and users implemented to mimick various common ldap implementations (openldap, opendirectory, active directory). Perhaps LDIFS available for developers and perhaps AMIs with writeable ldap data. These might be hosted as,, etc.

Utility and Use Cases:

  • Developers: Having live ldap to run automated tests against.
  • Application support: having reference ldap debug user's issues against
  • Drupal, Moodle, Wordpress, etc. Admins: Having reference ldap to differentiate local php, php ldap extension, local ldap, etc issues from configuration issues.
  • Documentation: having live ldap to refer to. Perhaps the ldaps could even have a web ui for admins trying to understand ldap.

Possible Approach

  • Have groups and users in .csv or other format
  • Have script to generate various ldap ldiffs from these and import them into ldaps
  • Make ldifs, .csvs, and ldaps publicly available


johnbarclay’s picture

Issue summary: View changes

This would still be handy for ldap module and support. If anyone is willing to host such a reference ldap it would be a great service. Here's an example of someone who does this for Dspace:

The idea would be to match the ldap users and groups in whatever unit tests exist. Ideally with the most common ldap flavors. A start of a feaux ldap server is in ldap 7, but not nearly as useful as a real ldap server for development. And a publicly available one is ideal for support and documentation.

johnbarclay’s picture

Version: 7.x-2.x-dev » 8.x-3.x-dev
Priority: Normal » Minor
Status: Active » Needs work
queenvictoria’s picture

I've created a script that utilises a Docker LDAP project to create a local OpenLDAP server and uses the Apache example LDIF. I'd like it to use the Hogwarts LDIF from LDAP Drupal 7 module except I think that that LDIF doesn't have any groups. Hosted is a Good Idea too. Or more Docker images for the different flavours. The script is at

@larowlan is working on rewriting testing for 8.x-3.x and he will need some of this functionality. Let's keep this issue open and reference his work here.