summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index f43a11b2de..b07c81b867 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -8550,8 +8550,7 @@ enum usershare_err parse_usershare_file(TALLOC_CTX *ctx,
/* Ensure the owner of the usershare file has permission to share
this directory. */
- if (sys_stat(sharepath, &sbuf,
- lp_fake_dir_create_times()) == -1) {
+ if (sys_stat(sharepath, &sbuf, false) == -1) {
DEBUG(2,("parse_usershare_file: share %s : stat failed on path %s. %s\n",
servicename, sharepath, strerror(errno) ));
sys_closedir(dp);