From 0d0eec9fb26cf6100a7671a1cf75e2a68a5dd3ba Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 27 Nov 2009 12:49:42 +0100 Subject: s3: "parse_usershare_file" only looks at the mode and uid --- source3/param/loadparm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/param') 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); -- cgit