mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-06-25 12:23:08 +02:00
Updated LDAP (markdown)
parent
bc7ab30595
commit
c728d90b7a
9
LDAP.md
9
LDAP.md
@ -4,7 +4,14 @@ Custom values can be injected using environment variables, similar to the main c
|
|||||||
|
|
||||||
LDAP configuration is done by [django ldap module](https://django-auth-ldap.readthedocs.io/en/latest/install.html)
|
LDAP configuration is done by [django ldap module](https://django-auth-ldap.readthedocs.io/en/latest/install.html)
|
||||||
|
|
||||||
Take a note that changing `configuration/ldap_config.py` is strongly discouraged. Netbox container reports barely any python errors
|
Take a note that changing `configuration/ldap_config.py` is strongly discouraged. Netbox container reports barely any python errors.
|
||||||
|
|
||||||
|
### Netbox v2.9 and above
|
||||||
|
Netbox 2.9 changes the behaviour for the remote authentication. For LDAP to work these settings are necessary in the `configuration.py` file:
|
||||||
|
```python
|
||||||
|
REMOTE_AUTH_ENABLED = True
|
||||||
|
REMOTE_AUTH_BACKEND = 'netbox.authentication.LDAPBackend'
|
||||||
|
```
|
||||||
|
|
||||||
## Override example
|
## Override example
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user