HACKING LDAP
A short blurb indicating how to do development for LDAP Change-Id: Id75d9f9af8742b44158ed739d34dbdccb62eccf2
This commit is contained in:
@@ -170,6 +170,22 @@ You may also be interested in either the
|
|||||||
.. _OpenStack Continuous Integration Project: https://github.com/openstack/openstack-ci
|
.. _OpenStack Continuous Integration Project: https://github.com/openstack/openstack-ci
|
||||||
.. _OpenStack Integration Testing Project: https://github.com/openstack/tempest
|
.. _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
|
Building the Documentation
|
||||||
==========================
|
==========================
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user