login=PASS should act like PASSTHRU, sending no credentials header, when
no client supplied OR external ACL credentials are available.
3.2 has been found wrongly adding the username "PASS" in this case.
old_base64_encode(loginbuf));
return;
}
+ // if no external user credentials are available to fake authentication with PASS acts like PASSTHRU
+ if (strcmp(request->peer_login, "PASS") == 0)
+ continue;
/* Kerberos login to peer */
#if HAVE_AUTH_MODULE_NEGOTIATE && HAVE_KRB5 && HAVE_GSSAPI