[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Fri Mar 25 19:06:01 UTC 2022


The branch, master has been updated
       via  f74472675c3 smbd: expand DEBUG statement in smbd_dirptr_get_entry() to include the dir and direntry name
      from  41c72ae9f95 examples: Update winbindd.stp and its generator script

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit f74472675c3a3a723f0d829c6b7f2e4351552fe8
Author: Ralph Boehme <slow at samba.org>
Date:   Thu Mar 24 18:31:59 2022 +0100

    smbd: expand DEBUG statement in smbd_dirptr_get_entry() to include the dir and direntry name
    
    Signed-off-by: Ralph Boehme <slow at samba.org>
    Reviewed-by: Jeremy Allison <jra at samba.org>
    
    Autobuild-User(master): Jeremy Allison <jra at samba.org>
    Autobuild-Date(master): Fri Mar 25 19:05:06 UTC 2022 on sn-devel-184

-----------------------------------------------------------------------

Summary of changes:
 source3/smbd/dir.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c
index 65997dd3099..3c3d760c732 100644
--- a/source3/smbd/dir.c
+++ b/source3/smbd/dir.c
@@ -805,8 +805,9 @@ bool smbd_dirptr_get_entry(TALLOC_CTX *ctx,
 		prev_offset = cur_offset;
 		dname = dptr_ReadDirName(ctx, dirptr, &cur_offset, &sbuf);
 
-		DEBUG(6,("smbd_dirptr_get_entry: dirptr 0x%lx now at offset %ld\n",
-			(long)dirptr, cur_offset));
+		DBG_DEBUG("dir [%s] dirptr [0x%lx] offset [%ld] => dname [%s]\n",
+			  smb_fname_str_dbg(dirptr->smb_dname), (long)dirptr,
+			  cur_offset, dname ? dname : "(finished)");
 
 		if (dname == NULL) {
 			return false;


-- 
Samba Shared Repository



More information about the samba-cvs mailing list