From 358f031ccf7e5df11416b977965dfbb184e2bd25 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 24 Feb 2011 02:50:46 -0700 Subject: s3: GPFS can't deal with mangled names In getrealfilename, avoid calling the GPFS function --- source3/modules/vfs_gpfs.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source3') diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c index 7e7ee34ab1..d36cdbe2a9 100644 --- a/source3/modules/vfs_gpfs.c +++ b/source3/modules/vfs_gpfs.c @@ -117,6 +117,13 @@ static int vfs_gpfs_get_real_filename(struct vfs_handle_struct *handle, char *full_path; char real_pathname[PATH_MAX+1]; int buflen; + bool mangled; + + mangled = mangle_is_mangled(name, handle->conn->params); + if (mangled) { + return SMB_VFS_NEXT_GET_REAL_FILENAME(handle, path, name, + mem_ctx, found_name); + } full_path = talloc_asprintf(talloc_tos(), "%s/%s", path, name); if (full_path == NULL) { -- cgit