s3: "get_share_list" only looks at the mode and uid
authorVolker Lendecke <vl@samba.org>
Fri, 27 Nov 2009 12:00:51 +0000 (13:00 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 8 Dec 2009 08:15:03 +0000 (09:15 +0100)
(cherry picked from commit 2db05665032f927698adadedebb21eb83289140d)

source3/utils/net_usershare.c

index 9e2bf2940987efe2f69c2be4f07ebb4450805483..c8d05ae6575f55c9ec883bf4131f6559ce1ac01b 100644 (file)
@@ -248,8 +248,7 @@ static int get_share_list(TALLOC_CTX *ctx, const char *wcard, bool only_ours)
                        return -1;
                }
 
-               if (sys_lstat(path, &sbuf, lp_fake_dir_create_times())
-                   != 0) {
+               if (sys_lstat(path, &sbuf, false) != 0) {
                        d_fprintf(stderr,
                                _("get_share_list: can't lstat file %s. Error "
                                  "was %s\n"),