TMP durable reconnect: add some debug
authorMichael Adam <obnox@samba.org>
Sat, 18 Feb 2012 13:18:52 +0000 (14:18 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 10 May 2012 16:41:51 +0000 (18:41 +0200)
source3/smbd/smb2_create.c

index b5f6e80cc34b922b6526a9ce32af3db53f92b4ef..d90e2ce9428e7122101f2fa7331664dd5ad7eb30 100644 (file)
@@ -465,6 +465,8 @@ static NTSTATUS smb2_create_durable_reconnect(struct smbXsrv_open *op,
        files_struct *fsp = NULL;
        NTSTATUS status;
 
+DEBUG(0, ("OBNOX - durable_reconnect enter: (%s:%s)\n", __location__, __FUNCTION__));
+
        /* 1. check entry in locking.tdb */
 
        /*
@@ -528,6 +530,8 @@ static NTSTATUS smb2_create_durable_reconnect(struct smbXsrv_open *op,
                return status;
        }
 
+DEBUG(0, ("OBNOX - durable_reconnect: new fsp created (%s:%s)\n", __location__, __FUNCTION__));
+
        fsp->fh->fd = SMB_VFS_OPEN(conn,
                                   smb_fname,
                                   fsp,