summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-08-27 16:22:45 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-08-27 16:22:45 +1000
commitaa14b40c5ca583a615ce9f10f1bd8177f62444e7 (patch)
tree26dba226f3ac2db1356eac6f0b41144f9f71b49d
parent8b94f7bcd70b1196487b433e355127a4f84bf5a5 (diff)
downloadsamba-aa14b40c5ca583a615ce9f10f1bd8177f62444e7.tar.gz
samba-aa14b40c5ca583a615ce9f10f1bd8177f62444e7.tar.bz2
samba-aa14b40c5ca583a615ce9f10f1bd8177f62444e7.zip
Fix the build on Win32, and use NEGOTIATE security (to allow kerberos)
(This used to be commit f0bde093d76fe9d17a0709cf01fa7b70f1985c6b)
-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");
}