summaryrefslogtreecommitdiffstats
path: root/proxy/tests/interposetest.c
diff options
context:
space:
mode:
Diffstat (limited to 'proxy/tests/interposetest.c')
-rw-r--r--proxy/tests/interposetest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proxy/tests/interposetest.c b/proxy/tests/interposetest.c
index df0f353..5d50c1d 100644
--- a/proxy/tests/interposetest.c
+++ b/proxy/tests/interposetest.c
@@ -201,7 +201,7 @@ void run_client(struct aproc *data)
target_buf.length = strlen(data->target) + 1;
ret_maj = gss_import_name(&ret_min, &target_buf,
- GSS_C_NT_HOSTBASED_SERVICE, &name);
+ GSS_C_NT_USER_NAME, &name);
if (ret_maj) {
DEBUG("gss_import_name failed\n");
goto done;
@@ -452,7 +452,7 @@ void run_server(struct aproc *data)
/* import name family functions tests */
ret_maj = gss_import_name(&ret_min, &const_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);