s3: "load_usershare_service" only looks at the mode and uid
authorVolker Lendecke <vl@samba.org>
Fri, 27 Nov 2009 11:53:23 +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 69debce31268c4cfade31d188637e382610e0a84..9e50daa9716be7bd40461ef8cc47c312d658b2ef 100644 (file)
@@ -8823,8 +8823,7 @@ int load_usershare_service(const char *servicename)
                return -1;
        }
 
-       if (sys_stat(usersharepath, &sbuf, lp_fake_dir_create_times())
-           != 0) {
+       if (sys_stat(usersharepath, &sbuf, false) != 0) {
                DEBUG(0,("load_usershare_service: stat of %s failed. %s\n",
                        usersharepath, strerror(errno) ));
                return -1;