Revert "DEBUG it"
authorStefan Metzmacher <metze@samba.org>
Thu, 9 Sep 2010 15:04:32 +0000 (17:04 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 18 Apr 2011 15:59:24 +0000 (17:59 +0200)
This reverts commit dcd3a088ad63b901147fae1716d6d07126c235ed.

source3/smbd/process.c
source3/smbd/trans2.c

index 0c3ef5b0fd2ab1bfc8cd9c8610d3270e057c43de..8b2bcc99287d245052556916458123decfd36672 100644 (file)
@@ -1342,7 +1342,7 @@ static connection_struct *switch_message(uint8 type, struct smb_request *req, in
                ? UID_FIELD_INVALID : req->vuid;
        conn = req->conn;
 
-       DEBUG(0,("switch message %s (pid %d) conn 0x%lx\n", smb_fn_name(type),
+       DEBUG(3,("switch message %s (pid %d) conn 0x%lx\n", smb_fn_name(type),
                 (int)sys_getpid(), (unsigned long)conn));
 
        smb_dump(smb_fn_name(type), 1, (char *)req->inbuf, size);
index 70df2c072115bb6091e46cc3ee094a1fdf1c1371..30b849340e32733d266abb2a11262411834af08f 100644 (file)
@@ -1918,7 +1918,7 @@ static void call_trans2findfirst(connection_struct *conn,
        requires_resume_key = (findfirst_flags & FLAG_TRANS2_FIND_REQUIRE_RESUME);
        info_level = SVAL(params,6);
 
-       DEBUG(0,("call_trans2findfirst: dirtype = %x, maxentries = %d, close_after_first=%d, \
+       DEBUG(3,("call_trans2findfirst: dirtype = %x, maxentries = %d, close_after_first=%d, \
 close_if_end = %d requires_resume_key = %d level = 0x%x, max_data_bytes = %d\n",
                (unsigned int)dirtype, maxentries, close_after_first, close_if_end, requires_resume_key,
                info_level, max_data_bytes));
@@ -1952,7 +1952,7 @@ close_if_end = %d requires_resume_key = %d level = 0x%x, max_data_bytes = %d\n",
                        reply_nterror(req, NT_STATUS_INVALID_LEVEL);
                        return;
        }
-DEBUG(0,("call_trans2findfirst: before srvstr_get_path_wcard\n"));
+
        srvstr_get_path_wcard(ctx, params, req->flags2, &directory,
                              params+12, total_params - 12,
                              STR_TERMINATE, &ntstatus, &mask_contains_wcard);
@@ -1961,7 +1961,6 @@ DEBUG(0,("call_trans2findfirst: before srvstr_get_path_wcard\n"));
                return;
        }
 
-DEBUG(0,("call_trans2findfirst: before resolve_dfspath_wcard\n"));
        ntstatus = resolve_dfspath_wcard(ctx, conn,
                        req->flags2 & FLAGS2_DFS_PATHNAMES,
                        directory,
@@ -1977,15 +1976,12 @@ DEBUG(0,("call_trans2findfirst: before resolve_dfspath_wcard\n"));
                return;
        }
 
-DEBUG(0,("call_trans2findfirst: before unix_convert\n"));
        ntstatus = unix_convert(ctx, conn, directory, True, &directory, &mask, &sbuf);
        if (!NT_STATUS_IS_OK(ntstatus)) {
                reply_nterror(req, ntstatus);
                return;
        }
 
-DEBUG(0,("call_trans2findfirst: before check_name dir[%s] mask[%s]\n",
-       directory, mask));
        ntstatus = check_name(conn, directory);
        if (!NT_STATUS_IS_OK(ntstatus)) {
                reply_nterror(req, ntstatus);
@@ -2012,7 +2008,7 @@ DEBUG(0,("call_trans2findfirst: before check_name dir[%s] mask[%s]\n",
                *p = 0;
        }
 
-       DEBUG(0,("dir=%s, mask = %s\n",directory, mask));
+       DEBUG(5,("dir=%s, mask = %s\n",directory, mask));
 
        if (info_level == SMB_FIND_EA_LIST) {
                uint32 ea_size;