summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-27 12:52:31 +0100
committerVolker Lendecke <vl@samba.org>2009-11-29 11:22:02 +0100
commit7e9c2c5df33c55f47000573245551b50043bc590 (patch)
tree05d63b28d94393b0c2d706136098493b9041ee9e
parente5392748ec9ceb70d342f85d0194d47417509752 (diff)
downloadsamba-7e9c2c5df33c55f47000573245551b50043bc590.tar.gz
samba-7e9c2c5df33c55f47000573245551b50043bc590.tar.xz
samba-7e9c2c5df33c55f47000573245551b50043bc590.zip
s3: "usershare_exists" only looks at the mode and mtime
-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 f42a70d0552..69debce3126 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;
}