summaryrefslogtreecommitdiff
path: root/testprogs/win32/rpcecho
diff options
context:
space:
mode:
Diffstat (limited to 'testprogs/win32/rpcecho')
-rw-r--r--testprogs/win32/rpcecho/rpcecho.idl2
-rw-r--r--testprogs/win32/rpcecho/server.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/testprogs/win32/rpcecho/rpcecho.idl b/testprogs/win32/rpcecho/rpcecho.idl
index 0eb7a35b27..b0ddb81a38 100644
--- a/testprogs/win32/rpcecho/rpcecho.idl
+++ b/testprogs/win32/rpcecho/rpcecho.idl
@@ -99,7 +99,7 @@ interface rpcecho
} echo_Info;
long TestCall2 (
- [in] uint16 level,
+ [in] short level,
[out,switch_is(level)] echo_Info **info
);
diff --git a/testprogs/win32/rpcecho/server.c b/testprogs/win32/rpcecho/server.c
index c93136e2e5..b092852c15 100644
--- a/testprogs/win32/rpcecho/server.c
+++ b/testprogs/win32/rpcecho/server.c
@@ -193,7 +193,7 @@ void main(int argc, char **argv)
exit(status);
}
- status = RpcServerRegisterAuthInfo(NULL, RPC_C_AUTHN_WINNT, NULL, NULL);
+ status = RpcServerRegisterAuthInfo(NULL, RPC_C_AUTHN_GSS_NEGOTIATE, NULL, NULL);
if (status) {
printf("Failed to setup auth info\n");
}