karlheyes / icecast-kh

KH branch of icecast
GNU General Public License v2.0
300 stars 107 forks source link

kh22 (rev ea3554b) unexpected error messages using htpasswd auth on mount points #446

Open patphobos opened 9 months ago

patphobos commented 9 months ago

Hi Karl,

im' getting this error messages when protecting mount points with htpasswd authentication.

[2024-02-28  19:09:47] EROR auth_htpasswd/auth_get_htpasswd_auth No filename given in options for authenticator.
[2024-02-28  19:09:47] EROR auth_htpasswd/auth_get_htpasswd_auth No filename given in options for authenticator.
[2024-02-28  19:09:47] EROR auth_htpasswd/auth_get_htpasswd_auth No filename given in options for authenticator.
[2024-02-28  19:09:47] EROR auth_htpasswd/auth_get_htpasswd_auth No filename given in options for authenticator.

this errors seem to be triggered by this a 2nd call of get_authenticator() for each (protected ?) mount points.

int auth_finish_setup (auth_t *auth, const char *name)
{
    auth->mount = strdup (name);
    return get_authenticator (auth, NULL);
}

icecast.xml.txt