summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-27 12:51:04 +0100
committerVolker Lendecke <vl@samba.org>2009-11-29 11:22:02 +0100
commit552313a79c27d47005fbf0e663797ca82303a7c0 (patch)
treeb22edf2c2cb71beb28b1ddf0f7a9b6e8f186497d /source3
parent0d0eec9fb26cf6100a7671a1cf75e2a68a5dd3ba (diff)
downloadsamba-552313a79c27d47005fbf0e663797ca82303a7c0.tar.gz
samba-552313a79c27d47005fbf0e663797ca82303a7c0.tar.bz2
samba-552313a79c27d47005fbf0e663797ca82303a7c0.zip
s3: "process_usershare_file" only looks at the mode and size
Diffstat (limited to 'source3')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index b07c81b867..a38deb052b 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -8622,7 +8622,7 @@ static int process_usershare_file(const char *dir_name, const char *file_name, i
/* Minimize the race condition by doing an lstat before we
open and fstat. Ensure this isn't a symlink link. */
- if (sys_lstat(fname, &lsbuf, lp_fake_dir_create_times()) != 0) {
+ if (sys_lstat(fname, &lsbuf, false) != 0) {
DEBUG(0,("process_usershare_file: stat of %s failed. %s\n",
fname, strerror(errno) ));
SAFE_FREE(fname);