Added an example of configuring Active Directory integration /Marcus Sjögren

Marcussjogren
2025-08-23 00:05:22 +02:00
parent bc48f16228
commit 880678859b
+4 -4
@@ -63,14 +63,14 @@ services:
It is important to understand that the LDAP configuration in netbox-docker does not work in the same way as it does in normal installation of Netbox. It is important to understand that the LDAP configuration in netbox-docker does not work in the same way as it does in normal installation of Netbox.
For example, when configuring LDAP Group Types, the normal Netbox installation says that the environment variable should be: For example, when configuring LDAP Group Types, the normal Netbox installation says that the environment variable should be:
''' ```
AUTH_LDAP_GROUP_TYPE = GroupOfNamesType() AUTH_LDAP_GROUP_TYPE = GroupOfNamesType()
''' ```
But in netbox-docker it should be: But in netbox-docker it should be:
''' ```
AUTH_LDAP_GROUPTYPE = GroupOfNamesType AUTH_LDAP_GROUPTYPE = GroupOfNamesType
''' ```
All config is handled / controlled in the file netbox/configuration/ldap/*.py. All config is handled / controlled in the file netbox/configuration/ldap/*.py.
The file ldap_config.py does 99% and extra.py includes group handling functions. The file ldap_config.py does 99% and extra.py includes group handling functions.