summaryrefslogtreecommitdiff
path: root/testprogs/win32/rpcecho/server.c
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 /testprogs/win32/rpcecho/server.c
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)
Diffstat (limited to 'testprogs/win32/rpcecho/server.c')
-rw-r--r--testprogs/win32/rpcecho/server.c2
1 files changed, 1 insertions, 1 deletions
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");
}