Clarify authorization failure reason strings sent back to the client
This commit is contained in:
parent
c1703cdf3b
commit
a026972776
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user