}
/* Fall back to a case-insensitive scan of all streams on the file. */
- status = vfs_streaminfo(conn, NULL, smb_fname->base_name, mem_ctx,
+ status = vfs_streaminfo(conn, NULL, smb_fname, mem_ctx,
&num_streams, &streams);
if (NT_STATUS_EQUAL(status, NT_STATUS_OBJECT_NAME_NOT_FOUND)) {