[Wine]faking network shares
m.hearn at signal.qinetiq.com
Mon Aug 16 03:10:01 CDT 2004
This support was removed as it really has to be done kernel-side, but as
to the state of integration now you'd have to ask Alexandre or Mike I
David Lee Lambert wrote:
> On Thu, Aug 12, 2004 at 12:42:08PM +0100, Fergal Daly wrote:
>>I have an app that wants to read from \\server\directory\file.ini and I
>>don't have an easy way of changing this, so I want to tell wine that
>>\\server\directory is available in /mnt/smb/server/directory. Is this
>>possible? What do I need to do?
> If you try to read from a path starting "\\.\" in Wine (in some versions), you'll
> get a message saying something like "Fixme: UNC name (%s) not supported.", but there
> is basic support for Wine to read from a file directly over an SMB link for paths
> that start with "\\" up until Wine-20040505. It identifies itself as a WfW server
> and doesn't attempt to provide a username or password, as far as I can tell. It
> looks like the relevant functions were deleted before 20040615.
> In principle, Wine could probably provide UNC-name support by calling 'smbclient',
> or by parsing /etc/mtab for 'smbfs' mountpoints and trying to access them like any
> other file. Another alternative would be a configuration-file override to alias an
> arbitrary UNC path as some file, just like the old [Drive X] mappings.
> In your case, would it be acceptable to have a local, static copy of the .ini file,
> and just point Wine at that somehow?
> (Forwarding to the developer's list, since it looks like this is a useful feature
> that was removed because no one was finishing it.)
More information about the wine-devel