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

index 9e50daa9716be7bd40461ef8cc47c312d658b2ef..ce235edf5b2bcb0a787cab43cb23c75a789e4acd 100644 (file)
@@ -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;