summaryrefslogtreecommitdiffstats
path: root/source3/param/loadparm.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-27 12:53:48 +0100
committerVolker Lendecke <vl@samba.org>2009-11-29 11:22:02 +0100
commite41e21b9d443930604092853b3bef4ef33759a13 (patch)
tree5e29ed924292aeba58ba79d471714cb1a14b345b /source3/param/loadparm.c
parent5e6031c9c584a517daa881a5c1832b0c61374547 (diff)
downloadsamba-e41e21b9d443930604092853b3bef4ef33759a13.tar.gz
samba-e41e21b9d443930604092853b3bef4ef33759a13.tar.xz
samba-e41e21b9d443930604092853b3bef4ef33759a13.zip
s3: "load_usershare_shares" only looks at the mode and uid
Diffstat (limited to 'source3/param/loadparm.c')
-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 9e50daa9716..ce235edf5b2 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -8900,8 +8900,7 @@ int load_usershare_shares(void)
return lp_numservices();
}
- if (sys_stat(usersharepath, &sbuf, lp_fake_dir_create_times())
- != 0) {
+ if (sys_stat(usersharepath, &sbuf, false) != 0) {
DEBUG(0,("load_usershare_shares: stat of %s failed. %s\n",
usersharepath, strerror(errno) ));
return ret;