git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a789c8
)
s3:smbd: don't call smbd_terminate_connection in smb2_validate_message_id() (bug...
author
Stefan Metzmacher
<metze@samba.org>
Fri, 23 Sep 2011 04:08:51 +0000
(06:08 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 23 Sep 2011 09:00:04 +0000
(11:00 +0200)
Only return false and the caller will terminate the connection.
metze
source3/smbd/smb2_server.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_server.c
b/source3/smbd/smb2_server.c
index 0ffeb4818d04786df57f76d6b65453e18db892f5..368f342dd5f4b60dc055e32d13a7c72492dd2c38 100644
(file)
--- 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;
}