summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-08-19 22:47:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:24 -0500
commitb4470656298303f477798929d44556f3926bb2aa (patch)
tree457fa95c5552735dc7eb72ffe18490bb25104b9d /source3
parent6219c997cbe49952213460f1e100004d32469132 (diff)
downloadsamba-b4470656298303f477798929d44556f3926bb2aa.tar.gz
samba-b4470656298303f477798929d44556f3926bb2aa.tar.bz2
samba-b4470656298303f477798929d44556f3926bb2aa.zip
r1939: Ensure with my new change we set extended security in flags2 in
the negprot reply. Jeremy. (This used to be commit 8b80b46b8b76ead72c17dc65f2de4c0cc0b263c7)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/negprot.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c
index 5ee8abbe6b..447073acd8 100644
--- a/source3/smbd/negprot.c
+++ b/source3/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;