summaryrefslogtreecommitdiff
path: root/source3/smbd/smb2_server.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-23 06:08:51 +0200
committerStefan Metzmacher <metze@samba.org>2011-09-23 11:00:04 +0200
commit02d83d8fd4d21825110fd7da1ccb570a26e66ca6 (patch)
treed8ae48aa7c920f0a77e3819a12cf1383618117c3 /source3/smbd/smb2_server.c
parent2a789c8442ce730cac112eeb89c7eb497bb5cc15 (diff)
downloadsamba-02d83d8fd4d21825110fd7da1ccb570a26e66ca6.tar.gz
samba-02d83d8fd4d21825110fd7da1ccb570a26e66ca6.tar.bz2
samba-02d83d8fd4d21825110fd7da1ccb570a26e66ca6.zip
s3:smbd: don't call smbd_terminate_connection in smb2_validate_message_id() (bug #8476)
Only return false and the caller will terminate the connection. metze
Diffstat (limited to 'source3/smbd/smb2_server.c')
-rw-r--r--source3/smbd/smb2_server.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c
index 0ffeb4818d..368f342dd5 100644
--- a/source3/smbd/smb2_server.c
+++ b/source3/smbd/smb2_server.c
@@ -323,8 +323,9 @@ static bool smb2_validate_message_id(struct smbd_server_connection *sconn,
}
if (sconn->smb2.credits_granted == 0) {
- smbd_server_connection_terminate(sconn, "smb2_validate_message_id: "
- "terminating connection: client used more credits than granted\n");
+ DEBUG(0,("smb2_validate_message_id: client used more "
+ "credits than granted message_id (%llu)\n",
+ (unsigned long long)message_id));
return false;
}