Results 1 to 8 of 8

Thread: MAC OSX 10.5.2 Auto Map Network Drive

  1. #1
    Join Date
    Nov 2009
    Posts
    47

    MAC OSX 10.5.2 Auto Map Network Drive

    I have my MAC computer which is connected to Windows Server 2003 setup with Active Directory login. I would like to map to some shared drives on AD via user login but the user should not be asked for the password to access this drive. How could this be done on MAC OS X 10.5.2?

  2. #2
    Join Date
    Jun 2009
    Posts
    1,205

    Re: MAC OSX 10.5.2 Auto Map Network Drive

    Open a notepad file, and save it as bat script. Put it in a startup folder at C:\Documents and Settings\<USERNAME>\Start Menu\Programs\Startup. You can also do it in a better way by right-clicking on the account for which you want to modify it and select 'Properties'. Go to the 'Profile' tab and select 'Connect:'.

  3. #3
    Join Date
    Jan 2006
    Posts
    3,792

    Re: MAC OSX 10.5.2 Auto Map Network Drive

    Its quiet simple to do this with the help of AppleScript. It would be something like this: mount volume "smb://server/share". This takes care of the user profile and so no one else will have access to those shares if he is not in the list. This works even in MAC OS X 10.5.2.

  4. #4
    Join Date
    May 2008
    Posts
    2,945

    Re: MAC OSX 10.5.2 Auto Map Network Drive

    Code:
     set user_name to last word of (path to current user folder as text)
     tell application "Finder"
        try
           mount volume "smb://" & user_name & "@server/" & user_name & ""
        end try
     end tell
    This is the script which achieves your goal.

  5. #5
    Join Date
    Apr 2008
    Posts
    3,339

    Re: MAC OSX 10.5.2 Auto Map Network Drive

    Auto mount will not work directly. You have to first go to Accounts - "log in items" and then you would be able to add any server to it. I hope you know how to make a new script or you can even refer to the above script for better understanding. Create it in Finder.

  6. #6
    Join Date
    Nov 2009
    Posts
    47

    Re: MAC OSX 10.5.2 Auto Map Network Drive

    Ok I will try these solutions and see how it goes. However, looking at Snake's reply: don't you think doing this for all the users in the network remotely would be time consuming. And I have also tried a similar script as given here today morning but then the accounts window got frozen. Do you think this script will not create a similar issue to me?

  7. #7
    Join Date
    Nov 2008
    Posts
    1,066

    Re: MAC OSX 10.5.2 Auto Map Network Drive

    I don't know if this is what you want but add the below lines into a script and run it to map your network drive:

    Code:
    tell application "Finder"
    mount volume "afp://10.0.1.1/network_drive_name" as user name "admin" with password "admin"
    end tell
    Before running this script, make sure you change the IP address with your server IP and also change the drive name, user name and password.

  8. #8
    Join Date
    May 2008
    Posts
    3,516

    Re: MAC OSX 10.5.2 Auto Map Network Drive

    Don't go for any kind of scripting where its on Applescript or anyone else. Instead go to Preferences - Accounts - Log in Items and simply add an icon for your network drive. Save this and you should be able to find your network drive every time you log in to Mac OS X.

Similar Threads

  1. Auto map network drive on VPN connect
    By Aideen in forum Networking & Security
    Replies: 5
    Last Post: 10-03-2011, 04:03 AM
  2. Auto Mapping Network Drive VBS
    By Mulan in forum Networking & Security
    Replies: 6
    Last Post: 11-05-2010, 11:06 PM
  3. How to add auto map network drive in samba server config
    By Feng in forum Networking & Security
    Replies: 6
    Last Post: 11-05-2010, 10:56 PM
  4. Auto repair of network connection
    By Brooks in forum Networking & Security
    Replies: 3
    Last Post: 04-07-2009, 06:26 PM
  5. Auto Map Network Drives under SBS 2008
    By Frragrant in forum Small Business Server
    Replies: 2
    Last Post: 16-01-2009, 07:05 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,962,748.91889 seconds with 17 queries