s3: "parse_usershare_file" only looks at the mode and uid
authorVolker Lendecke <vl@samba.org>
Fri, 27 Nov 2009 11:49:42 +0000 (12:49 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 29 Nov 2009 10:22:02 +0000 (11:22 +0100)
source3/param/loadparm.c

index f43a11b2de78f04cfd184351b967b4fd7d794631..b07c81b867e9d55b27373ed3b971d5e92b769874 100644 (file)
@@ -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);