]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:smbd/smb2_read improve debug message
authorChristian Ambach <ambi@samba.org>
Fri, 11 May 2012 17:01:43 +0000 (19:01 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 29 May 2012 08:44:42 +0000 (10:44 +0200)
make the message similar to the ones in other paths

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/smb2_read.c

index b36c3cb141cc679b7583c7b47eb36c7bbe189272..d69ead9a75f1875983d81ffe3fe15e2fe54e1529 100644 (file)
@@ -75,7 +75,8 @@ NTSTATUS smbd_smb2_request_process_read(struct smbd_smb2_request *req)
 
        /* check the max read size */
        if (in_length > req->sconn->smb2.max_read) {
-               DEBUG(0,("here:%s: 0x%08X: 0x%08X\n",
+               DEBUG(2,("smbd_smb2_request_process_read: "
+                        "client ignored max read: %s: 0x%08X: 0x%08X\n",
                        __location__, in_length, req->sconn->smb2.max_read));
                return smbd_smb2_request_error(req, NT_STATUS_INVALID_PARAMETER);
        }