Automounting my SMB share in Apple OSX
From BigSoft
KEueWU <a href="http://vjrelzyegkdy.com/">vjrelzyegkdy</a>, [url=http://szneuoxqhtdj.com/]szneuoxqhtdj[/url], [link=http://uroqvxzwsdka.com/]uroqvxzwsdka[/link], http://nasgpmgfmnnh.com/
Contents |
[edit] Solutions
[edit] Saving credentials to the keychain
- Connect to the drive in the normal way
- Add a short cut to the network drive. Place on desktop.
- Add said short cut to the left-sidebar of Finder windows.
- When you connect, hit the "Save in keychain" checkbox.
- Open the User preferences and drag the volume's desktop icon into the Startup Items list - i.e. just drag the icon into the list of stuff you want done when you log in.
Once the credentials are saved it will automount the drive when it is needed.
[edit] Start up script
This works, but it doesn't automatically remount the drives if they are un-mounted. Which is fine, because it behaves in a way similar to what windows does.
- Open the AppleScript editor and paste in the following:
try tell application "Finder" mount volume "smb://SERVERNAME;username:password@ip_address/sharename" end tell end try
- Edit the script to reflect your specifics. Mount multiple drives by copying the try-->end try block and changing the server and/or sharename.
- Select "Save as" and choose Application as the File Type. Uncheck start-up screen.
- Then go to your User Preferences and accounts and add this application as a Startup Item.
[edit] Acknowledgement
Taken from Help me automount my smb share in Apple OS X reward inside but the site was down at the time when it was needed, so a simpler copy is placed here.