summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-08-10 10:11:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:29:26 -0500
commit66294f9db508038a333b6c73fa5181fec5773530 (patch)
tree45e503aea3533a8e6587aec15ae2e9f3412bf5ae
parentaece6db7148cad4876c90bb9da8653c780285abb (diff)
downloadsamba-66294f9db508038a333b6c73fa5181fec5773530.tar.gz
samba-66294f9db508038a333b6c73fa5181fec5773530.tar.bz2
samba-66294f9db508038a333b6c73fa5181fec5773530.zip
r24309: if no protocol matches, just return choise 0xffff
as we've done before revision 24002 metze (This used to be commit 6014ecbbfd50bc8f4f351dec1f9dd35c3fe62456)
-rw-r--r--source3/smbd/negprot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c
index 06b17a9a24..935d25fab3 100644
--- a/source3/smbd/negprot.c
+++ b/source3/smbd/negprot.c
@@ -674,6 +674,8 @@ void reply_negprot(connection_struct *conn, struct smb_request *req)
DEBUG(3,("Selected protocol %s\n",supported_protocols[protocol].proto_name));
} else {
DEBUG(0,("No protocol supported !\n"));
+ reply_outbuf(req, 1, 0);
+ SSVAL(req->outbuf, smb_vwv0, choice);
}
DEBUG( 5, ( "negprot index=%d\n", choice ) );