summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-27 12:52:31 +0100
committerKarolin Seeger <kseeger@samba.org>2009-12-08 09:15:01 +0100
commitde917b2fa2b22c15696dc65183793daa9d9b88a4 (patch)
tree1b54446b6790441810c7b47b85f5ee820bdc92fe /source3/param
parentb40c77ec0ade3331697a2cebb296516101da36d7 (diff)
downloadsamba-de917b2fa2b22c15696dc65183793daa9d9b88a4.tar.gz
s3: "usershare_exists" only looks at the mode and mtime
(cherry picked from commit f1d180da90b4d7e5cd068360054a77dfc3836921)
Diffstat (limited to 'source3/param')
-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 880a7d24b28..7644e4117f3 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -8793,7 +8793,7 @@ static bool usershare_exists(int iService, struct timespec *last_mod)
return false;
}
- if (sys_lstat(fname, &lsbuf, lp_fake_dir_create_times()) != 0) {
+ if (sys_lstat(fname, &lsbuf, false) != 0) {
SAFE_FREE(fname);
return false;
}