-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
LDAP not working in Netbox 3.2.0 #1652
Copy link
Copy link
Closed
Description
Current Behavior
I am working on a migration and first I want to have Netbox 3.2.0 working, and then perform an update to a newer version. As part of this migration I performed the database dump and restore (that worked fine) and I also moved from LDAP to LDAPs.
I do have connectivity from docker host if I perform a curl to port 636, but I am receiving errors on the LDAP server.
Expected Behavior
To be able to login.
Docker Compose Version
Docker Compose version v5.1.0
Docker Version
Client: Docker Engine - Community
Version: 29.2.1
API version: 1.53
Go version: go1.25.6
Git commit: a5c7197
Built: Mon Feb 2 17:17:26 2026
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 29.2.1
API version: 1.53 (minimum version 1.44)
Go version: go1.25.6
Git commit: 6bc6209
Built: Mon Feb 2 17:17:26 2026
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v2.2.1
GitCommit: dea7da592f5d1d2b7755e3a161be07f43fad8f75
runc:
Version: 1.3.4
GitCommit: v1.3.4-0-gd6d73eb8
docker-init:
Version: 0.19.0
GitCommit: de40ad0
The git Revision
The git Status
Not currently on any branch.
Startup Command
docker compose up
NetBox Logs
WARNING Caught LDAPError looking up user: SERVER_DOWN({'result': -1, 'desc': "Can't contact LDAP server", 'errno': 2, 'ctrls': [], 'info': 'No such file or directory'})
Content of docker-compose.override.yml
services:
netbox:
volumes:
- /opt/netbox/configuration/nginx-unit.json:/etc/unit/nginx-unit.json:ro
environment:
REMOTE_AUTH_ENABLED: "True"
REMOTE_AUTH_BACKEND: "netbox.authentication.LDAPBackend"
AUTH_LDAP_CACHE_TIMEOUT: "1800"
AUTH_LDAP_SERVER_URI: "ldaps://xxx.com:636"
AUTH_LDAP_BIND_AS_AUTHENTICATING_USER: "False"
LDAP_CA_CERT_DIR: "/etc/ssl/certs"
LDAP_CA_CERT_FILE: "/etc/ssl/RootCA.pem"
LDAP_IGNORE_CERT_ERRORS: "True"
AUTH_LDAP_BIND_DN: "CN=xxxxxxxx,OU=xxxxxx,OU=xxxx,OU=xxxxx,DC=xxxx,DC=xxxxDC=com"
AUTH_LDAP_BIND_PASSWORD: "xxxxxxxxxxxxxxxx"
AUTH_LDAP_USER_SEARCH_BASEDN: "dc=corp,dc=kazootek,dc=com"
AUTH_LDAP_GROUP_SEARCH_BASEDN: "dc=corp,dc=kazootek,dc=com"
AUTH_LDAP_GROUP_TYPE: "NestedGroupOfNamesType"
LOGLEVEL: "DEBUG"
security_opt:
- seccomp:unconfined
ports:
- "8081:8080"
netbox-worker:
security_opt:
- seccomp:unconfinedReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels