Reset documentation hierarchy

This commit is contained in:
Jeremy Stretch
2020-03-05 17:23:56 -05:00
parent f89773f4a3
commit a7c133daa6
21 changed files with 110 additions and 76 deletions

View File

@@ -1,8 +1,10 @@
# LDAP Configuration
This guide explains how to implement LDAP authentication using an external server. User authentication will fall back to built-in Django users in the event of a failure.
## Install Requirements
#### Install openldap-devel
### Install openldap-devel
On Ubuntu:
@@ -16,7 +18,7 @@ On CentOS:
sudo yum install -y openldap-devel
```
#### Install django-auth-ldap
### Install django-auth-ldap
```no-highlight
pip3 install django-auth-ldap
@@ -79,7 +81,7 @@ AUTH_LDAP_USER_ATTR_MAP = {
}
```
## User Groups for Permissions
### User Groups for Permissions
!!! info
When using Microsoft Active Directory, support for nested groups can be activated by using `NestedGroupOfNamesType()` instead of `GroupOfNamesType()` for `AUTH_LDAP_GROUP_TYPE`. You will also need to modify the import line to use `NestedGroupOfNamesType` instead of `GroupOfNamesType` .