From 86bf5eac678d54037d8fcf81bade1f464dd97299 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 1 Feb 2010 19:21:35 -0800 Subject: Add debug to make it clear when EA dosmode set is invoked. Jeremy. --- source3/smbd/dosmode.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3') diff --git a/source3/smbd/dosmode.c b/source3/smbd/dosmode.c index 10249f4634..436556344b 100644 --- a/source3/smbd/dosmode.c +++ b/source3/smbd/dosmode.c @@ -372,6 +372,11 @@ static bool set_ea_dos_attribute(connection_struct *conn, unix_timespec_to_nt_time(&dosattrib.info.info3.create_time, smb_fname->st.st_ex_btime); + DEBUG(10,("set_ea_dos_attributes: set attribute 0x%x, btime = %s on file %s\n", + (unsigned int)dosmode, + time_to_asc(convert_timespec_to_time_t(smb_fname->st.st_ex_btime)), + smb_fname_str_dbg(smb_fname) )); + ndr_err = ndr_push_struct_blob( &blob, talloc_tos(), NULL, &dosattrib, (ndr_push_flags_fn_t)ndr_push_xattr_DOSATTRIB); -- cgit