s3:smb2_create: add usefull DEBUG() message
authorStefan Metzmacher <metze@samba.org>
Thu, 28 Jun 2012 08:02:01 +0000 (10:02 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 28 Jun 2012 10:41:48 +0000 (12:41 +0200)
All calls which take an file handle have the same,
so we should also log it, when we create a handle.

metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Jun 28 12:41:49 CEST 2012 on sn-devel-104

source3/smbd/smb2_create.c

index f540377dcce7c1db77b43007109621dc82d876c8..b729ebfecd202ed55a22348af4a654b5f4e476ec 100644 (file)
@@ -826,6 +826,9 @@ static struct tevent_req *smbd_smb2_create_send(TALLOC_CTX *mem_ctx,
        state->out_file_id_volatile = result->fnum;
        state->out_context_blobs = out_context_blobs;
 
+       DEBUG(10,("smbd_smb2_create_send: %s - %s\n",
+                 fsp_str_dbg(result), fsp_fnum_dbg(result)));
+
        tevent_req_done(req);
        return tevent_req_post(req, ev);
 }