summaryrefslogtreecommitdiffstats
path: root/source3/utils
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-27 13:00:51 +0100
committerVolker Lendecke <vl@samba.org>2009-11-29 11:22:03 +0100
commita95404bbaedb5528ec47a54e7cdaa952fb9a71f4 (patch)
treed3232dbfa4cbcda34816eb5f5e6691549fcf5c72 /source3/utils
parent188b94012b33f0e225d3fff89813d96ca13dbe05 (diff)
downloadsamba-a95404bbaedb5528ec47a54e7cdaa952fb9a71f4.tar.gz
samba-a95404bbaedb5528ec47a54e7cdaa952fb9a71f4.tar.xz
samba-a95404bbaedb5528ec47a54e7cdaa952fb9a71f4.zip
s3: "get_share_list" only looks at the mode and uid
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_usershare.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/utils/net_usershare.c b/source3/utils/net_usershare.c
index 9e2bf294098..c8d05ae6575 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"),