git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
188b940
)
s3: "get_share_list" only looks at the mode and uid
author
Volker Lendecke
<vl@samba.org>
Fri, 27 Nov 2009 12:00:51 +0000
(13:00 +0100)
committer
Volker Lendecke
<vl@samba.org>
Sun, 29 Nov 2009 10:22:03 +0000
(11:22 +0100)
source3/utils/net_usershare.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_usershare.c
b/source3/utils/net_usershare.c
index 9e2bf2940987efe2f69c2be4f07ebb4450805483..c8d05ae6575f55c9ec883bf4131f6559ce1ac01b 100644
(file)
--- 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"),