summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb2/negprot.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-12-06 13:26:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:08 -0500
commit2634f22bfcd5172ae20e9fa0d236aee91c43c1ae (patch)
tree36a16dbf9fb00ee3b1e7b788454022cf947af071 /source4/smb_server/smb2/negprot.c
parente5adca67f255555533934c1eb56268af8bd527a3 (diff)
downloadsamba-2634f22bfcd5172ae20e9fa0d236aee91c43c1ae.tar.gz
samba-2634f22bfcd5172ae20e9fa0d236aee91c43c1ae.tar.bz2
samba-2634f22bfcd5172ae20e9fa0d236aee91c43c1ae.zip
r12092: - add dummy functions for the missing SMB2 opcodes
- implement keepalive and logoff metze (This used to be commit 859ab627f45a5acca1deb66b8abdc38eaf49e5a2)
Diffstat (limited to 'source4/smb_server/smb2/negprot.c')
-rw-r--r--source4/smb_server/smb2/negprot.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source4/smb_server/smb2/negprot.c b/source4/smb_server/smb2/negprot.c
index 630f38b159..71e86ad805 100644
--- a/source4/smb_server/smb2/negprot.c
+++ b/source4/smb_server/smb2/negprot.c
@@ -123,8 +123,6 @@ static void smb2srv_negprot_send(struct smb2srv_request *req, struct smb2_negpro
return;
}
- SIVAL(req->out.hdr, SMB2_HDR_STATUS, NT_STATUS_V(req->status));
-
SSVAL(req->out.body, 0x02, io->out._pad);
SIVAL(req->out.body, 0x04, io->out.unknown2);
memcpy(req->out.body+0x08, io->out.sessid, 16);