Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use_authentication no longer used? #1389

Open
sney opened this issue Aug 17, 2024 · 4 comments
Open

use_authentication no longer used? #1389

sney opened this issue Aug 17, 2024 · 4 comments

Comments

@sney
Copy link

sney commented Aug 17, 2024

Hi,

I use thruk in a lab environment. The web interface is only accessible on the local network and its whole purpose is to be an always-open dashboard, so it doesn't need a login form, so I set use_authentication=0 in cgi.cfg. Unfortunately, it looks like 3.16 ignores this option, because I have to log in.

I understand the comments in the example cgi.cfg and I know this isn't necessarily standard usage, but if this option is gone, is there a workaround?

Thanks for your work

sney

Thruk 3.16-1 (debian packages from https://build.opensuse.org/project/show/home:naemon)
Debian 12 amd64

@sni
Copy link
Owner

sni commented Aug 26, 2024

this option isn't gone. If it does not work anymore, then i would consider this a bug.

@sni
Copy link
Owner

sni commented Sep 10, 2024

i cannot reproduce that. In order to use Thruk without autentication, you need to make Apache not ask for a password and disable the use_authentication in the cgi.cfg. And finally you need to set a default_user_name in the cgi.cfg. Maybe that changed.
What exact error do you get?

@sney
Copy link
Author

sney commented Sep 10, 2024

There was no error, it simply showed me a login form every time I had to restart firefox. However, this might have been a browser issue, since updating to firefox 130 it seems to have resolved itself.

I set default_user_name as well just in case, and I'll keep an eye on it.

@sni
Copy link
Owner

sni commented Sep 10, 2024

If you see a login form, then the apache does some kind of authentication which needs to be disabled as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants