Skip to content

Commit

Permalink
Merge "HACKING LDAP"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed May 1, 2013
2 parents a78bc2e + 23634d7 commit 22d96b2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions doc/source/developing.rst
Expand Up @@ -170,6 +170,22 @@ You may also be interested in either the
.. _OpenStack Continuous Integration Project: https://github.com/openstack/openstack-ci
.. _OpenStack Integration Testing Project: https://github.com/openstack/tempest


LDAP
----
LDAP has a fake backend that performs rudimentary operations. If you
are building more significant LDAP functionality, you should test against
a live LDAP server. Devstack has an option to set up a directory server for
Keystone to use. Add ldap to the ``ENABLED_SERVICES`` environment variable,
and set environment variables ``KEYSTONE_IDENTITY_BACKEND=ldap`` and
``KEYSTONE_CLEAR_LDAP=yes`` in your ``localrc`` file.

The unit tests can be run against a live server with
``tests/_ldap_livetest.py``. The default password is ``test`` but if you have
installed devstack with a different LDAP password, modify the file
``tests/backend_liveldap.conf`` to reflect your password.


Building the Documentation
==========================

Expand Down

0 comments on commit 22d96b2

Please sign in to comment.