?
Solved

On an IMAC How to Map Drives from Microsoft Server Similar to Netuse

Posted on 2008-09-30
9
Medium Priority
?
781 Views
Last Modified: 2012-05-05
We have added an IMAC 20 as a workstation on a Microsoft 2003 network. How can we map drives, so that upon logon the shared drives show in the list of available folders in Finder. Upon logon to the network with Active Directory a script is run that maps the drives. An example of a line is:
net use S: \\sms-2003\share /y > nul
How can we get this drive to show in Finder once the user joins the network?
0
Comment
Question by:gbm33
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +1
9 Comments
 
LVL 5

Expert Comment

by:micalkin
ID: 22609059
The way I've always done it was to use Alt-K (bring up the connect dialog) from finder then enter the path to the share you want to connect to. I.E smb://server/share
You will have to provide domain creditials when you try to connect.  Once you are connected then you can drag the icon from the desktop to the dock for ease of use.  Any time you need to access the share you just click on the icon on the dock.  You can save the username/password in the keychain if you don't want the end user to be entering the information every time he has to use the share.
0
 
LVL 5

Expert Comment

by:micalkin
ID: 22609104
Hmm...that should have been command K not alt K
0
 
LVL 28

Expert Comment

by:jhyiesla
ID: 22609219
On my Mac Pro at work I have bound it to AD.  When I log in, I have an applescript that runs that basically maps the shares that I need.  I am including the script below.


tell application "Finder"
        delay 0.3
        try
                mount volume "smb://Servername1/applications"
                mount volume "smb://servername2/lis"
                mount volume "smb://servername3/public"
                
        end try
        
        delay 0.3
        
end tell

Open in new window

0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

Author Comment

by:gbm33
ID: 22609618
micalkin: Thanks for the tip. Let me try it and see if it will work for mapping an individual drive.

jhyiesla: Your scrip looks like what the Microsoft net use command does and is what I may be looking for.
Now these questions:
1: Please translate net use "S: \\sms-2003\share " to a mount volume command to map S to \\sms-2003\share
2. Where would I place the script once written
3. How do I pull up an application to write an Apple script?
0
 
LVL 28

Expert Comment

by:jhyiesla
ID: 22609922
mount volume "smb://sms-2003/share"

If you open the system Preferences, and go to Accounts, there is an item labeled Login items.  Once the script is written, you can store it anywhere and include it in the login items so that it runs each time the user logs on.

Once the volume is mounted it will show up in the left-hand side of Finder.

To create it go to Applications in Finder then open Apple Script and then the Script Editor.  Write the script and Compile it with the compile button and then save it anywhere you want.


0
 
LVL 40

Expert Comment

by:Eoin OSullivan
ID: 22612243
gbm33 - A small additional note .. OSX does NOT use drive letters .. so there is no need to map the shares to letters .. instead it will appear on OSX as the name of the share .. i.e. \\sms-2003\myshare will appear on the OSX finder as "myshare"

If you want the mount the shared volume with the name "S" then it is a little more complicated than the applescripts above.

Let me know if this is a requirement or not.
0
 

Accepted Solution

by:
gbm33 earned 0 total points
ID: 23014366
We have abandoned the project of adding an IMAC to our network. We just could not afford the time it would take to resolve all the issues that came up. I know that, with more effort, the IMAC would be an excellent addition.  The difficulty with mixing operating systems is that one has to invest in becoming familiar with all  the systems.  We have not had the chance to fully sort out and try all the suggestions given. Thank you all for the time you gave in offering them, nevertheless. I will be closing the question as a result.
0
 
LVL 28

Expert Comment

by:jhyiesla
ID: 23014462
gbm33, you're right in that, although I think the Mac is "better" than a Windows PC and is fairly easy to get to know, it is different than what most people are used to working with.

I will say though that my integration of my Mac into our network really was pretty simple and for the most part has been without issue.

To be honest, I have run into a glitch after upgrading my Mac to 10.5.5 that involves the mounting of Windows shares.  If you want more info check out jyappleconvert.blogspot.com
0
 

Author Comment

by:gbm33
ID: 23014628
jhyiesla: Thank you for your comment.  From what I learned in this brief Apple foray, if we were setting up a new network we would go with MACs all the way. Maybe in a few years we will dump MS and go with such a network.
0

Featured Post

Limited time offer using promo code EXPERTS25

Designed with a wealth of functionality and convenience, ATEN's new Thunderbolt™ 2 Sharing Switch takes your Thunderbolt setup to the next level. Now through August 31, 2017, Experts Exchange members get 25% off the US7220 on the ATEN USA eShop using promo code EXPERTS25.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There is a security feature on iOS devices that is nearly impenetrable when it has been activated.  This article will provide some possible solutions as well as necessary steps to take to ensure you do not end up with a locked device.
Article by: Justin
In light of the WannaCry ransomware attack that affected millions of Windows machines, you might wonder if your Mac needs protecting. Yes, it does and here is how to do it.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question