forked from Github-Mirrors/canaille
Fixed readthedocs
This commit is contained in:
parent
8d1d0c020d
commit
c99e87c530
2 changed files with 4 additions and 2 deletions
|
@ -37,6 +37,7 @@ language = None
|
||||||
exclude_patterns = []
|
exclude_patterns = []
|
||||||
pygments_style = "sphinx"
|
pygments_style = "sphinx"
|
||||||
todo_include_todos = False
|
todo_include_todos = False
|
||||||
|
autodoc_mock_imports = ["ldap"]
|
||||||
|
|
||||||
intersphinx_mapping = {
|
intersphinx_mapping = {
|
||||||
"python": ("https://docs.python.org/3", None),
|
"python": ("https://docs.python.org/3", None),
|
||||||
|
|
|
@ -9,13 +9,14 @@ LDAP schemas
|
||||||
============
|
============
|
||||||
|
|
||||||
As of OpenLDAP 2.4, two configuration methods are available:
|
As of OpenLDAP 2.4, two configuration methods are available:
|
||||||
|
|
||||||
- The `deprecated <https://www.openldap.org/doc/admin24/slapdconf2.html>`_ one, based on a configuration file (generally `/etc/ldap/slapd.conf`);
|
- The `deprecated <https://www.openldap.org/doc/admin24/slapdconf2.html>`_ one, based on a configuration file (generally `/etc/ldap/slapd.conf`);
|
||||||
- The new one, based on a configuration directory (generally `/etc/ldap/slapd.d`).
|
- The new one, based on a configuration directory (generally `/etc/ldap/slapd.d`).
|
||||||
|
|
||||||
Depending on the configuration method you use with your OpenLDAP installation, you need to chose how to add the canaille schemas:
|
Depending on the configuration method you use with your OpenLDAP installation, you need to chose how to add the canaille schemas:
|
||||||
|
|
||||||
Old fashion: Copy the schemas in your filesystem
|
Old fashion: Copy the schemas in your filesystem
|
||||||
================================================
|
------------------------------------------------
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
|
@ -24,7 +25,7 @@ Old fashion: Copy the schemas in your filesystem
|
||||||
sudo service slapd restart
|
sudo service slapd restart
|
||||||
|
|
||||||
New fashion: Use slapadd to add the schemas
|
New fashion: Use slapadd to add the schemas
|
||||||
===========================================
|
-------------------------------------------
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue