diff options
-rw-r--r-- | proxy/tests/cli_srv_comm.c | 4 |
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); |