Commit a0269727 authored by Jon Turney's avatar Jon Turney Committed by Adam Jackson

Clarify authorization failure reason strings sent back to the client

parent c1703cdf
......@@ -215,11 +215,11 @@ CheckAuthorization(unsigned int name_length,
return (*protocols[i].Check) (data_length, data, client,
reason);
}
*reason = "Protocol not supported by server\n";
*reason = "Authorization protocol not supported by server\n";
}
}
else
*reason = "No protocol specified\n";
*reason = "Authorization required, but no authorization protocol specified\n";
return (XID) ~0L;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment