summaryrefslogtreecommitdiff
path: root/src/clirpc.c
diff options
context:
space:
mode:
authorfergus.henderson <fergushenderson@users.noreply.github.com>2009-07-23 02:16:18 +0000
committerfergus.henderson <fergushenderson@users.noreply.github.com>2009-07-23 02:16:18 +0000
commit8a5f0e583a3593803c41ef0719d78e79c38cbcec (patch)
treef7f781c1b4a4e47775b6b692b7b4e148fa79ea8d /src/clirpc.c
parent12f786698f9be16fc9d0b76373665c87ab5df5ac (diff)
downloaddistcc-git-8a5f0e583a3593803c41ef0719d78e79c38cbcec.tar.gz
Apply patch from Ian.Baker@cern.ch:
Optional GSS-API Functionality. This patch implements mutual authentication, out of sequence and replay detection using the GSS-API. The changes implemented are optional and are turned off by default. This option is specified to the client through an environment variable as is the name of the server principal to authenticate. Currently the server principal can be left unspecified and a default based on the host keytab will be used. This option is specified to the daemon through a command line option, with the name of the principal whose credentials the daemon should use specified as an environment variable. A simple handshake is exchanged between the client and server in order to prevent unecessary delays and protocol derailments when mixing authenticating and non-authenticating clients and servers. Revised based on review comments. GSS-API authentication is now implemented as a per host option. Revised further by me (Fergus Henderson) to fix a spelling error and to rename the per host option from ",gssapi" to ",auth".
Diffstat (limited to 'src/clirpc.c')
-rw-r--r--src/clirpc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/clirpc.c b/src/clirpc.c
index bacbfad..30ce99f 100644
--- a/src/clirpc.c
+++ b/src/clirpc.c
@@ -114,8 +114,10 @@ int dcc_r_result_header(int ifd,
if ((ret = dcc_r_token_int(ifd, "DONE", &vers)))
rs_log_error("server provided no answer. "
"Is the server configured to allow access from your IP"
- " address? Does the server have the compiler installed?"
- " Is the server configured to access the compiler?");
+ " address? Is the server performing authentication and"
+ " your client isn't? Does the server have the compiler"
+ " installed? Is the server configured to access the"
+ " compiler?");
return ret;
if (vers != expect_ver) {