summaryrefslogtreecommitdiffstats
path: root/proxy/tests/cli_srv_comm.c
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-08-28 22:17:16 +0200
commit6394a80f6ddd6a133e1ea4a92ffcc7a0bc01e690 (patch)
treec5f34c6d7b2a47728b40cc9afbf95e3c39a7b12c /proxy/tests/cli_srv_comm.c
parent969e72ace7fb523f11d8622d00f158c259277424 (diff)
downloadgss-proxy-6394a80f6ddd6a133e1ea4a92ffcc7a0bc01e690.tar.gz
gss-proxy-6394a80f6ddd6a133e1ea4a92ffcc7a0bc01e690.tar.xz
gss-proxy-6394a80f6ddd6a133e1ea4a92ffcc7a0bc01e690.zip
DO NOT PUSH: use GSS_C_NT_USER_NAME in client
Diffstat (limited to 'proxy/tests/cli_srv_comm.c')
-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 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);