summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_solarisacl.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2015-05-01 13:09:36 -0700
committerRalph Böhme <slow@samba.org>2015-05-05 14:01:25 +0200
commit14f4e254bb8d1f456ebb8da728f2fb812a9b3034 (patch)
tree2f3558740d5a95459d34c6e3a461135a9a0784ab /source3/modules/vfs_solarisacl.c
parent044dabfd92d09de4f168a36a07ac3232f5647a1d (diff)
downloadsamba-14f4e254bb8d1f456ebb8da728f2fb812a9b3034.tar.gz
s3: smbd: VFS: All the places that are currently calling vfs_stat_smb_fname() and vfs_lstat_smb_fname() should be calling vfs_stat_smb_basename().
They are all post-stream name processing. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11249 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/modules/vfs_solarisacl.c')
-rw-r--r--source3/modules/vfs_solarisacl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_solarisacl.c b/source3/modules/vfs_solarisacl.c
index 9b3c4f60a56..efd2d75e64a 100644
--- a/source3/modules/vfs_solarisacl.c
+++ b/source3/modules/vfs_solarisacl.c
@@ -167,7 +167,7 @@ int solarisacl_sys_acl_set_file(vfs_handle_struct *handle,
* that has not been specified in "type" from the file first
* and concatenate it with the acl provided.
*/
- if (vfs_stat_smb_fname(handle->conn, name, &s) != 0) {
+ if (vfs_stat_smb_basename(handle->conn, name, &s) != 0) {
DEBUG(10, ("Error in stat call: %s\n", strerror(errno)));
goto done;
}