From a95404bbaedb5528ec47a54e7cdaa952fb9a71f4 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 27 Nov 2009 13:00:51 +0100 Subject: s3: "get_share_list" only looks at the mode and uid --- source3/utils/net_usershare.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source3/utils/net_usershare.c b/source3/utils/net_usershare.c index 9e2bf29409..c8d05ae657 100644 --- a/source3/utils/net_usershare.c +++ b/source3/utils/net_usershare.c @@ -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"), -- cgit