diff options
author | Günther Deschner <gdeschner@redhat.com> | 2012-08-30 13:22:54 +0200 |
---|---|---|
committer | Günther Deschner <gdeschner@redhat.com> | 2012-10-18 17:45:59 +0200 |
commit | 4ba8b3879f2d568c9dfbb40650b7b31594737239 (patch) | |
tree | b8185786720ee98edc986c55bf154624a706d756 /proxy/tests/interposetest.c | |
parent | c1da328c140391564b43b0fc17dd290e0ff7bb3f (diff) | |
download | gss-proxy-4ba8b3879f2d568c9dfbb40650b7b31594737239.tar.gz gss-proxy-4ba8b3879f2d568c9dfbb40650b7b31594737239.tar.xz gss-proxy-4ba8b3879f2d568c9dfbb40650b7b31594737239.zip |
DO NOT PUSH: use GSS_C_NT_USER_NAME in interposetest.
Guenther
Diffstat (limited to 'proxy/tests/interposetest.c')
-rw-r--r-- | proxy/tests/interposetest.c | 4 |
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); |