summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-27 13:04:18 +0100
committerVolker Lendecke <vl@samba.org>2009-11-29 11:22:03 +0100
commit2a7778f7b20b77b82bd4a78609586025ea4a3330 (patch)
tree964fd3cd9d7d4681556dc7c22c1e4f3c90671428 /source3
parent41b2af34b166108475de3142de43c7b239b8b18a (diff)
downloadsamba-2a7778f7b20b77b82bd4a78609586025ea4a3330.tar.gz
samba-2a7778f7b20b77b82bd4a78609586025ea4a3330.tar.bz2
samba-2a7778f7b20b77b82bd4a78609586025ea4a3330.zip
s3: "net_usershare_add" only looks at the device and inode
Diffstat (limited to 'source3')
-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 b97f5adbdc..1085796a9e 100644
--- a/source3/utils/net_usershare.c
+++ b/source3/utils/net_usershare.c
@@ -892,8 +892,7 @@ static int net_usershare_add(struct net_context *c, int argc, const char **argv)
}
/* Ensure we opened the file we thought we did. */
- if (sys_lstat(full_path_tmp, &lsbuf, lp_fake_dir_create_times())
- != 0) {
+ if (sys_lstat(full_path_tmp, &lsbuf, false) != 0) {
d_fprintf(stderr,
_("net usershare add: cannot lstat tmp file %s\n"),
full_path_tmp );