Add debug to make it clear when EA dosmode set is invoked.
authorJeremy Allison <jra@samba.org>
Tue, 2 Feb 2010 03:21:35 +0000 (19:21 -0800)
committerJeremy Allison <jra@samba.org>
Tue, 2 Feb 2010 03:21:35 +0000 (19:21 -0800)
Jeremy.

source3/smbd/dosmode.c

index 10249f4634a2ac32d3a03df76c84a76267a19b9f..436556344b3ea648c1da8c732aa8690c7741e73f 100644 (file)
@@ -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);