LDAP enabled variant
The images tagged with "-ldap" contain anything necessary to authenticate against an LDAP or Active Directory server. The default configuration ldap_config.py is prepared for use with an Active Directory server. Custom values can be injected using environment variables, similar to the main configuration mechanisms.In my limited experience with Docker I'm unsure how to proceed. Do I need to modify the docker-compose file and change something to netbox-ldap (I attempted this unsuccessfully)? Or do I run the export command to modify the docker-compose file? Or something else?
Thanks,
Aaron
version: '3.7'
services:
netbox: &netbox
image: netboxcommunity/netbox:v2.6.2-ldap
depends_on:
- postgres
- redis
- netbox-worker
env_file: data/env/netbox.env# LDAP
AUTH_LDAP_SERVER_URI=ldaps://mysuperduperdc.domain.local
AUTH_LDAP_BIND_DN=netbox_service_account
LDAP_IGNORE_CERT_ERRORS=true
AUTH_LDAP_USER_SEARCH_BASEDN=ou=MYOU,dc=domain,dc=local
AUTH_LDAP_GROUP_SEARCH_BASEDN=ou=MYSEARCHOU,dc=domain,dc=local
AUTH_LDAP_GROUP_TYPE=NestedActiveDirectoryGroupType
AUTH_LDAP_REQUIRE_GROUP_DN=cn=netbox_users,ou=MYOU,dc=domain,dc=local
AUTH_LDAP_IS_ADMIN_DN=cn=netbox_staff,ou=MYOU,dc=domain,dc=local
AUTH_LDAP_IS_SUPERUSER_DN=cn=netbox_superuser,ou=MYOU,dc=domain,dc=local
Caught LDAPError while authenticating user15: SERVER_DOWN({'desc': "Can't contact LDAP server"})
--
You received this message because you are subscribed to the Google Groups "NetBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netbox-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/5525e9f7-3742-4c2a-b051-f1d6f7215ee7%40googlegroups.com.