From a026972776b303fa640f54e5e8f0fc1abf879071 Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Mon, 16 Mar 2015 15:43:07 +0000 Subject: [PATCH] Clarify authorization failure reason strings sent back to the client --- os/auth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/os/auth.c b/os/auth.c index d3254349d..611e4efb1 100644 --- a/os/auth.c +++ b/os/auth.c @@ -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; }