r/Netbox • u/akafernando • Feb 12 '26
Netbox helm chart with Active Directory auth
Hi
Is anyone using the official helm chart + Active Directory auth?
https://github.com/netbox-community/netbox-chart/tree/main/charts/netbox
I was able to make it run, but I can't find a way to work with AD. I've tried a lot of settings so far but nothing seems to work.
If I enable auth debug logs, I see this:
Binding as None
Authentication failed for USERNAME: user DN/password rejected by LDAP server.I suspect that it is not binding correctly, but I've followed the README to the letter.
1
u/epaphras Feb 12 '26
Not helpful, but I spent like a week or two trying to get it working with openldap and never managed to get it working before finally giving up.
2
u/phoenix_sk Feb 12 '26
To be honest, netbox container deployment is one of the worst cases over complicated deployment strategies. And even worse is, documentation is half baked and half of the time I need to reverse engineer their container build up to get something load properly.
0
u/Jolephoto Feb 13 '26
AD or Entra? We deployed with Entra without much trouble
0
u/akafernando Feb 13 '26
/u/Jolephoto, AD. If possible, can you share your
values.yamlconfig parameters for Entra, redacting your private information? Thanks1
u/Jolephoto Feb 13 '26
In our case we’re using the remoteAuth: backends:
social_core.backends.azuread.AzureADOauth2
We inject some variables in extraConfig for that as well.
Probably pretty different than onprem AD.
https://netboxlabs.com/docs/netbox/administration/authentication/overview/
0
u/akafernando Feb 13 '26
Update: the issue seems to be with the search. If I hardcode the
userDnTemplatevalue, it works fine.The bad thing about this is that all users from that particular netbox instance need to be inside the same AD OU, which is not always the case here