tac_plus authentication with django-auth-tacacs config param not found #12365
-
Hi all, TACACSPLUS_HOST = 'x.x.x.x' TACACSPLUS_PORT = 49 TACACSPLUS_SECRET = 'mysecret' TACACSPLUS_SESSION_TIMEOUT = 10 TACACSPLUS_AUTH_PROTOCOL = 'ascii' TACACSPLUS_AUTOCREATE_USERS = True But when trying to login I get the error thrown on the webui: 'Settings' object has no attribute 'TACACSPLUS_HOST' Python version: 3.10.6 So it's not being able to read the TACACSPLUS_HOST value. But those don't seem to be passing through. Am I missing something obvious here? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Presumably you've put them in My guess is it might be necessary to hack Netbox's |
Beta Was this translation helpful? Give feedback.
-
Aha! So adding the configuration into settings.py has solved that. |
Beta Was this translation helpful? Give feedback.
Presumably you've put them in
configuration.py
, notsettings.py
?My guess is it might be necessary to hack Netbox's
settings.py
to get this to work. You're not supposed to do that, but if it works, you could feed back a PR to make this a supported configuration.