summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-02-18 06:26:30 +0100
committerStefan Metzmacher <metze@samba.org>2009-02-18 10:22:30 +0100
commit3f147cb7a3706d00a3cbac51013e09f93e9b7055 (patch)
treef849b94ae6ddc05dfb1d4cb56760dbea6b41d8fa
parent48ba64010046bece3b54009131f88c851ec82047 (diff)
downloadsamba-3f147cb7a3706d00a3cbac51013e09f93e9b7055.tar.gz
samba-3f147cb7a3706d00a3cbac51013e09f93e9b7055.tar.bz2
samba-3f147cb7a3706d00a3cbac51013e09f93e9b7055.zip
s4:netlogon: don't mix in and out negotiate_flags in dcesrv_netr_ServerAuthenticate()
metze
-rw-r--r--source4/rpc_server/netlogon/dcerpc_netlogon.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c
index ac7ce73f2a..0fa638e863 100644
--- a/source4/rpc_server/netlogon/dcerpc_netlogon.c
+++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c
@@ -273,7 +273,8 @@ static NTSTATUS dcesrv_netr_ServerAuthenticate(struct dcesrv_call_state *dce_cal
*
* (I think ... = 0; seems wrong here --metze)
*/
- uint32_t negotiate_flags = 0;
+ uint32_t negotiate_flags_in = 0;
+ uint32_t negotiate_flags_out = 0;
r3.in.server_name = r->in.server_name;
r3.in.account_name = r->in.account_name;
@@ -281,8 +282,8 @@ static NTSTATUS dcesrv_netr_ServerAuthenticate(struct dcesrv_call_state *dce_cal
r3.in.computer_name = r->in.computer_name;
r3.in.credentials = r->in.credentials;
r3.out.return_credentials = r->out.return_credentials;
- r3.in.negotiate_flags = &negotiate_flags;
- r3.out.negotiate_flags = &negotiate_flags;
+ r3.in.negotiate_flags = &negotiate_flags_in;
+ r3.out.negotiate_flags = &negotiate_flags_out;
r3.out.rid = &rid;
return dcesrv_netr_ServerAuthenticate3(dce_call, mem_ctx, &r3);