mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
parent
f45c2e52b7
commit
03439e1836
@ -271,6 +271,8 @@ static int reply_nt1(char *inbuf, char *outbuf)
|
|||||||
}
|
}
|
||||||
SSVALS(outbuf,smb_vwv16+1,8);
|
SSVALS(outbuf,smb_vwv16+1,8);
|
||||||
p += 8;
|
p += 8;
|
||||||
|
p += srvstr_push(outbuf, p, global_myworkgroup, -1,
|
||||||
|
STR_UNICODE|STR_TERMINATE|STR_NOALIGN);
|
||||||
DEBUG(3,("not using SPNEGO\n"));
|
DEBUG(3,("not using SPNEGO\n"));
|
||||||
} else {
|
} else {
|
||||||
int len = negprot_spnego(p);
|
int len = negprot_spnego(p);
|
||||||
@ -279,8 +281,6 @@ static int reply_nt1(char *inbuf, char *outbuf)
|
|||||||
p += len;
|
p += len;
|
||||||
DEBUG(3,("using SPNEGO\n"));
|
DEBUG(3,("using SPNEGO\n"));
|
||||||
}
|
}
|
||||||
p += srvstr_push(outbuf, p, global_myworkgroup, -1,
|
|
||||||
STR_UNICODE|STR_TERMINATE|STR_NOALIGN);
|
|
||||||
|
|
||||||
SSVAL(outbuf,smb_vwv17, p - q); /* length of challenge+domain strings */
|
SSVAL(outbuf,smb_vwv17, p - q); /* length of challenge+domain strings */
|
||||||
set_message_end(outbuf, p);
|
set_message_end(outbuf, p);
|
||||||
|
Loading…
Reference in New Issue
Block a user