1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r951: from w2k3 behaviour, the netlogon server is supposed to give back the negotiate flags it can support.

This commit is contained in:
Andrew Tridgell 2004-05-30 13:27:14 +00:00 committed by Gerald (Jerry) Carter
parent 2d740b6570
commit 7ad56fc4db

View File

@ -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"));