This commit is contained in:
Ollie Armstrong 2017-12-20 19:43:18 +00:00 committed by GitHub
commit 50351235ca

View File

@ -26,6 +26,8 @@ sudo pip install django-auth-ldap
Create a file in the same directory as `configuration.py` (typically `netbox/netbox/`) named `ldap_config.py`. Define all of the parameters required below in `ldap_config.py`. Create a file in the same directory as `configuration.py` (typically `netbox/netbox/`) named `ldap_config.py`. Define all of the parameters required below in `ldap_config.py`.
All configuration options for django-auth-ldap can be viewed [on their documentation](http://django-auth-ldap.readthedocs.io/en/latest/index.html).
## General Server Configuration ## General Server Configuration
!!! info !!! info
@ -52,6 +54,8 @@ AUTH_LDAP_BIND_PASSWORD = "demo"
LDAP_IGNORE_CERT_ERRORS = True LDAP_IGNORE_CERT_ERRORS = True
``` ```
STARTTLS can be configured by settings `AUTH_LDAP_START_TLS = True` and using the `ldap://` URI scheme.
## User Authentication ## User Authentication
!!! info !!! info