1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

s3: GPFS can't deal with mangled names

In getrealfilename, avoid calling the GPFS function
This commit is contained in:
Volker Lendecke 2011-02-24 02:50:46 -07:00
parent 8870fcb154
commit 358f031ccf

View File

@ -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) {