[sr-dev] where is s proxy_challenge function?
Juha Heinanen
jh at tutpro.com
Thu Jul 1 21:13:50 CEST 2010
Jan Janak writes:
> See the function "authenticate" in modules_s/auth_db/authorize.c for
> an example, grep for the string "build_challenge".
jan,
i see that this thing in the code builds the challenge (p-a header):
if (ret < 0) {
if (auth_api.build_challenge(msg, (cred ? cred->stale : 0), realm, NULL, NULL, hftype) < 0) {
ERR("Error while creating challenge\n");
ret = -2;
}
is there a way to prevent p-a header from being added to reply in case
after proxy_authorize failure i want to reply with "403 Forbidden"
instead of "407 Proxy Authentication Required"?
-- juha
More information about the sr-dev
mailing list