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 11:04:06 +0000 (12:04 +0100)
source3/param/loadparm.c

index 4f353343c52f5e09831419e393bbbe2d1a3257b5..223fc71661cb6a2dc9c7d68a628c4c3fd7c4b081 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;