Can wine access samba share?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
redss
Level 2
Level 2
Posts: 11
Joined: Thu Feb 09, 2012 10:07 am

Can wine access samba share?

Post by redss »

Can I configure wine to access a windows NTFS samba share as a drive letter (mounted as type SMBFS)?
xyz32
Level 2
Level 2
Posts: 19
Joined: Sun Jul 24, 2011 8:06 am

Post by xyz32 »

Tell your OS to map the network drive for you and then in "wine configuration/Drivers" create a new drive pointing to that folder.

The way I do it on my linux box in fstab I have this:

//Net/TEMP /media/local/ cifs noperm,username=me,password=secret,nounix,rw 0 0

The nounix is there so that cifs does not try to set all sorts of parameters on the share.

Regards.
redss
Level 2
Level 2
Posts: 11
Joined: Thu Feb 09, 2012 10:07 am

Post by redss »

So does that mean NTFS shares can be recognized in wine if mounted as CIFS? What about if mounted as SMBFS?
xyz32
Level 2
Level 2
Posts: 19
Joined: Sun Jul 24, 2011 8:06 am

Post by xyz32 »

For what I know SMBFS is the old way of doing things ("smbfs has not been maintained in the last few years") so I would suggest using CIFS.

Now what the filesystem is on the server that is sharing it does not rely matter as long as you have permission to access it (see Username and Password in my example). The network protocol will do the rest.

Regards
redss
Level 2
Level 2
Posts: 11
Joined: Thu Feb 09, 2012 10:07 am

Post by redss »

Got it working, the problem was that when mounting the windows share as root, I had to mount as the ubuntu user so that the ubuntu user had full write access.
Locked