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)
committerKarolin Seeger <kseeger@samba.org>
Tue, 8 Dec 2009 08:15:01 +0000 (09:15 +0100)
(cherry picked from commit 026befc823b672d3c94af1354c3d817f6ab0ed74)

source3/param/loadparm.c

index 7644e4117f369c53c122fb2e897d59018a47641d..4f353343c52f5e09831419e393bbbe2d1a3257b5 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;