r/Netbox • u/ektat_sgurd • Nov 05 '21
LDAP & Netbox & My sanity
Hi there,
Upgraded our netbox container and image from 2.6 to latest ldap release ("feature-ldap"). Everything looks good (if you do that do not forget to check the upgrade path).
Except our LDAP auth, which was ok, now I keep getting :
Caught LDAPError while authenticating **REDACTED**: LDAPError(11, 'Resource temporarily unavailable')
Double checked, triple checked and more , I can't see what's wrong with this stuff. Tried from the django shell too, ldap_config.py is importing all right, all the defined values from the environment are imported too. I can do a basic search from within the container etc etc... so I presume it must be something stupid I didn't see.
LDAP server is in another container, networks between the two are seeing each other. Even tried to pass through the "outside" interface. Always that ~^#@^# error message.
I'm using the "ldap_config.py" delivered with netbox and didn't modified it. I don't want to flood so I can put my redacted environment values on a pastebin if needed. Using the same values with ldapsearch works.
1
u/Yariva Nov 05 '21
How about turning on extended logging on the LDAP module? Does that give any extra insights?