diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-05-30 13:27:14 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:21 -0500 |
commit | 6611f010501d001382a3a73c6d7daafcb6271b18 (patch) | |
tree | e1550c475d3fbf2f9ed1c6e7d997e9a7de07e3f3 /source4 | |
parent | 6a0ce94d025d4288c87080c0f4d6e3013559794c (diff) | |
download | samba-6611f010501d001382a3a73c6d7daafcb6271b18.tar.gz samba-6611f010501d001382a3a73c6d7daafcb6271b18.tar.bz2 samba-6611f010501d001382a3a73c6d7daafcb6271b18.zip |
r951: from w2k3 behaviour, the netlogon server is supposed to give back the negotiate flags it can support.
(This used to be commit 7ad56fc4db37009dc2dba376724fdfb650f65611)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/rpc_server/netlogon/dcerpc_netlogon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c index 523b042845..81d37d0984 100644 --- a/source4/rpc_server/netlogon/dcerpc_netlogon.c +++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c @@ -147,8 +147,8 @@ static NTSTATUS netr_ServerAuthenticate3(struct dcesrv_call_state *dce_call, TAL "objectSid", NULL}; ZERO_STRUCTP(r->out.credentials); - *r->out.negotiate_flags = 0; *r->out.rid = 0; + *r->out.negotiate_flags = *r->in.negotiate_flags & NETLOGON_NEG_AUTH2_FLAGS; if (!pipe_state) { DEBUG(1, ("No challange requested by client, cannot authenticate\n")); |