summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGünther Deschner <gdeschner@redhat.com>2012-08-21 12:35:22 +0200
committerGünther Deschner <gdeschner@redhat.com>2012-10-18 17:45:59 +0200
commitc1da328c140391564b43b0fc17dd290e0ff7bb3f (patch)
tree1bfe02daeb34847bb632e9cc504653eb3c180139
parent7959082a1db8d574b4ed069dce13ced64e9c05b6 (diff)
downloadgss-proxy-c1da328c140391564b43b0fc17dd290e0ff7bb3f.tar.gz
gss-proxy-c1da328c140391564b43b0fc17dd290e0ff7bb3f.tar.xz
gss-proxy-c1da328c140391564b43b0fc17dd290e0ff7bb3f.zip
DO NOT PUSH: use GSS_C_NT_USER_NAME in client
-rw-r--r--proxy/tests/cli_srv_comm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proxy/tests/cli_srv_comm.c b/proxy/tests/cli_srv_comm.c
index 1e055ca..5f37aaf 100644
--- a/proxy/tests/cli_srv_comm.c
+++ b/proxy/tests/cli_srv_comm.c
@@ -226,7 +226,7 @@ void *client_thread(void *pvt)
target_buf.length = strlen(data->target) + 1;
ret_maj = gpm_import_name(&ret_min, &target_buf,
- GSS_C_NT_HOSTBASED_SERVICE, &name);
+ GSS_C_NT_USER_NAME, &name);
if (ret_maj) {
goto done;
}
@@ -397,7 +397,7 @@ void *server_thread(void *pvt)
/* import name family functions tests */
ret_maj = gpm_import_name(&ret_min, &target_buf,
- GSS_C_NT_HOSTBASED_SERVICE, &target_name);
+ GSS_C_NT_USER_NAME, &target_name);
if (ret_maj) {
DEBUG("gssproxy returned an error: %d\n", ret_maj);
gp_log_failure(GSS_C_NO_OID, ret_maj, ret_min);