diff options
author | Jeremy Allison <jra@samba.org> | 2004-08-19 22:47:05 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:52:24 -0500 |
commit | 8b80b46b8b76ead72c17dc65f2de4c0cc0b263c7 (patch) | |
tree | 34aba33a909d475f4743b16131a51c2c1a0d6ce8 /source/smbd/negprot.c | |
parent | 284689aa18d2711a9041598cdf490359466f7f77 (diff) | |
download | samba-8b80b46b8b76ead72c17dc65f2de4c0cc0b263c7.tar.gz samba-8b80b46b8b76ead72c17dc65f2de4c0cc0b263c7.tar.xz samba-8b80b46b8b76ead72c17dc65f2de4c0cc0b263c7.zip |
r1939: Ensure with my new change we set extended security in flags2 in
the negprot reply.
Jeremy.
Diffstat (limited to 'source/smbd/negprot.c')
-rw-r--r-- | source/smbd/negprot.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/smbd/negprot.c b/source/smbd/negprot.c index 5ee8abbe6ba..447073acd84 100644 --- a/source/smbd/negprot.c +++ b/source/smbd/negprot.c @@ -250,6 +250,9 @@ static int reply_nt1(char *inbuf, char *outbuf) negotiate_spnego = True; capabilities |= CAP_EXTENDED_SECURITY; add_to_common_flags2(FLAGS2_EXTENDED_SECURITY); + /* Ensure FLAGS2_EXTENDED_SECURITY gets set in this reply (already + partially constructed. */ + SSVAL(outbuf,smb_flg2, SVAL(outbuf,smb_flg2) | FLAGS2_EXTENDED_SECURITY); } capabilities |= CAP_NT_SMBS|CAP_RPC_REMOTE_APIS|CAP_UNICODE; |