See if I have this correct - Using a Windows Share

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
trwagner1
Newbie
Newbie
Posts: 2
Joined: Tue Aug 26, 2008 8:09 pm

See if I have this correct - Using a Windows Share

Post by trwagner1 »

I'm getting ready to test Accelerated Reader version 6.12 with Wine version 1.0 for a private school.

The school uses Accelerated Reader setup using a Windows share. I'm assuming it doesn't matter which verson of Windows... but the server is 2003 server with a 2003 Active Directory version.

For the setup using Windows, Accelerated Reader uses a mapped drive as it won't work with a UNC path (at least the version we're using). So, for windows clients the logon script maps drive "R" to \\server1\accreadr

During the install, the license files are read from the path R:\AccReadr

So, using Ubuntu (version 8.04 Hardy Heron), logged in as the user "student" I authenticated and mounted the windows share:

mnt -t smbfs -o username=user,password=password //server1/accreadr /mnt/server1/accreadr

I then created the local directory for wine (still logged on as the student user):

mkdir /home/student/.wine/dosdevices/r:

Then, I linked the mount location to wine:

ln -s /mnt/server1/accreadr /home/student/.wine/dosdevices/r:

I then ran wine configure. I made sure that r: was set up as a type of network share under advanced and then changed the path to: ../dosdevices/r:

I discovered that the wine cofiguration wasn't changed.

I went back into the wine configuration application and r: was still mapping to the /media/cdrom

Question, what am I doing wrong?

I'm assuming that you have to authenticate and mount the share locally, then link the mount directory to the local wine directory. Then, setup the wine configuration so it's using the correct "path".

I also tried just clicking "add" and allowing wine to create the wine directory, then "mapped" that drive letter to the mount directory. That saved ok.

However, in that case, the application aborted... no errors. Just closed down. I have not found information on logs. Is there a wine error log that I can look at to see what might be going on?

Thanks

Ted
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: See if I have this correct - Using a Windows Share

Post by dimesio »

Is there a wine error log that I can look at to see what might be going on?
http://wiki.winehq.org/FAQ#head-a37de32 ... 52258551a4
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: See if I have this correct - Using a Windows Share

Post by vitamin »

trwagner1 wrote:mount -t smbfs -o username=user,password=password //server1/accreadr /mnt/server1/accreadr
Correct.
trwagner1 wrote:mkdir /home/student/.wine/dosdevices/r:
Wrong, don't need this step.
trwagner1 wrote:ln -s /mnt/server1/accreadr /home/student/.wine/dosdevices/r:
Correct - you need just a symlink.
trwagner1
Newbie
Newbie
Posts: 2
Joined: Tue Aug 26, 2008 8:09 pm

Post by trwagner1 »

Thanks to both of you. I missed the debug tool as I was looking for "error log" when reading the faqs.

I had read the wineusr-guide.pdf on page 14 (Chapter 3). However, I may have read this incorrectly in respect to drive letters instead of unc paths. I can link to the share, I can never see the drive from wine. I can see it from the shell just fine.

Will do some more digging and playing around. Thank you both for your suggestions.

Ted
Locked