Replies: 2 comments
-
There's likely a syntax issue with your LDAP configuration file. Can you share your (sanitized) LDAP config? Also, if you can enable debug mode and share the complete stack trace, that will likely reveal the root cause. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I found the typo in the LDAP config file and the LDAP authentication is working now. Thank you for your help! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Recently upgraded the Netbox 2.9.x to 3.0.9. No issues. After the upgrade wanted to implement LDAP authentication. So I followed the Netbox documentation:
After restarting netbox service I cannot login to the webgui.
Cannot authenticate with the already existing local admin account, too.
Neither any domain account.
So I turned on logging for authentication events.
This is the only error message I get:
initialize() argument 1 must be str, not set while authenticating user1
Same message on the gui after I hit login:
<class 'TypeError'>
initialize() argument 1 must be str, not set
Python version: 3.9.2
NetBox version: 3.0.9
I was searching through the config files for "initialize()" without success...
I am not a Python guru, can somebody help me out?
Beta Was this translation helpful? Give feedback.
All reactions