Problem:
"Apply configuration" and "Stop/Start service" crashes after configuring basic auth
System configuration:
Ubuntu Server 18.04
Webmin 1.940
Squid Proxy Server 3.5
Description:
After installing Squid and configuring basic authentication with Webmin on Ubuntu, both apply configuration and stop/start service procedures crash.
Checking /etc/webmin/squid.conf file, two acl lines...
auth_param basic program /etc/webmin/squid/squid-auth.pl /etc/webmin/squid/users
cache_effective_group proxy
... are positioned to the end of the file, but they should be over previous acl lines
acl SSL_ports port 443
...
Changing these two lines manually to the top makes everything runs smoothly.
However, it would be better if webmin could do this without manual changes.
(Thanks to Julio León)
Try:
Note:
htdigesttools is used to create and update password for digest authentication of HTTP users.Example:
Thanks for the response Ilia. But, at the end of my message, I gave a solution to the issue.
However, my message concerns about a problem with the webmin user interface. Because the fact is that anyone who wants to create proxy authentication (only with the Webmin graphical interface, that is, without using the command line) will get this error. In my case, since 2014 my students work with webmin installing several services, and this is the first year I got this error.
So something has changed from the Webmin previous versions and I wonder if someone could change Webmin source code (putting those two lines at the top when the configuration in Webmin is done, and not at the end) in order to fix this bug.
Thanks a lot!
Last edit: Cristian Garcia 2020-01-03
Do you get any error message in the Squid log file when those lines are in the wrong place?
Hi Jamie,
After start/stop service (or clicking on apply configuration) I get these messages:
And the systemctl status squid.service returns these lines:
Would you need some more information to know where is the problem?
Thank you!
Last edit: Cristian Garcia 2020-01-03
Got it -the next Webmin release will ensure that the auth_param line is added in the right place.
Perfect. ¡Thank you!