summaryrefslogtreecommitdiff
path: root/source3/smbd/dosmode.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-02-01 19:21:35 -0800
committerJeremy Allison <jra@samba.org>2010-02-01 19:21:35 -0800
commit86bf5eac678d54037d8fcf81bade1f464dd97299 (patch)
tree06cdb77de95878e2643fe0baa143cf0819653393 /source3/smbd/dosmode.c
parentf3ee1516e631274531439e0ab7c384d02aff789c (diff)
downloadsamba-86bf5eac678d54037d8fcf81bade1f464dd97299.tar.gz
samba-86bf5eac678d54037d8fcf81bade1f464dd97299.tar.bz2
samba-86bf5eac678d54037d8fcf81bade1f464dd97299.zip
Add debug to make it clear when EA dosmode set is invoked.
Jeremy.
Diffstat (limited to 'source3/smbd/dosmode.c')
-rw-r--r--source3/smbd/dosmode.c5
1 files changed, 5 insertions, 0 deletions
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);