From 6394a80f6ddd6a133e1ea4a92ffcc7a0bc01e690 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 21 Aug 2012 12:35:22 +0200 Subject: DO NOT PUSH: use GSS_C_NT_USER_NAME in client --- proxy/tests/cli_srv_comm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proxy') diff --git a/proxy/tests/cli_srv_comm.c b/proxy/tests/cli_srv_comm.c index be65927..6bf83b2 100644 --- a/proxy/tests/cli_srv_comm.c +++ b/proxy/tests/cli_srv_comm.c @@ -216,7 +216,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; } @@ -346,7 +346,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) { fprintf(stdout, "gssproxy returned an error: %d\n", ret_maj); gp_log_failure(GSS_C_NO_OID, ret_maj, ret_min); -- cgit