git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3ee151
)
Add debug to make it clear when EA dosmode set is invoked.
author
Jeremy Allison
<jra@samba.org>
Tue, 2 Feb 2010 03:21:35 +0000
(19:21 -0800)
committer
Jeremy Allison
<jra@samba.org>
Tue, 2 Feb 2010 03:21:35 +0000
(19:21 -0800)
Jeremy.
source3/smbd/dosmode.c
patch
|
blob
|
history
diff --git
a/source3/smbd/dosmode.c
b/source3/smbd/dosmode.c
index 10249f4634a2ac32d3a03df76c84a76267a19b9f..436556344b3ea648c1da8c732aa8690c7741e73f 100644
(file)
--- 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);