From aa14b40c5ca583a615ce9f10f1bd8177f62444e7 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 27 Aug 2008 16:22:45 +1000 Subject: Fix the build on Win32, and use NEGOTIATE security (to allow kerberos) (This used to be commit f0bde093d76fe9d17a0709cf01fa7b70f1985c6b) --- testprogs/win32/rpcecho/rpcecho.idl | 2 +- testprogs/win32/rpcecho/server.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'testprogs/win32/rpcecho') 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"); } -- cgit