Mounting SMB shares via a script in OSX 10.1?
Mounting SMB shares via a script in OSX 10.1?
- Subject: Mounting SMB shares via a script in OSX 10.1?
- From: Roger Howard <email@hidden>
- Date: Sun, 30 Sep 2001 20:04:11 -0700
OK, I gathered from some feedback and my own modification the following
fully qualified URL for mounting SMB (Windows Networking) shares (replacing
values with your own of course) via the text field in the Connect to Server
dialog. If you fill in all the values then it won't raise another prompt for
enterring workgroup and password info...
smb://WORKGROUP;user:password@machinename/sharename/
Now what I can9t find is any other way, other than manually pasting the URL
in to the Connect to Server dialog, to mount this share without throwing a
dialog up. Making an alias to a mounted server doesn't store the password or
workgroup apparently.
None of the AppleScript commands ("open location" or "mount server") seem to
support mounting SMB and it doesn't seem to use Keychain to store SMB
passwords. How can I do this? Is there a shell command I can pass to the
command line that will be the equivalent of the Connect To.. mount process?
Hope cross-posting this isn't too far a breach of protocol.
roger.howard
digital media specialist, the j. paul getty museum
internet & imaging technologist, binaryboy.org
mail email@hidden
mail email@hidden
---- --- --- ----
3Trying to make bits uncopyable is like trying to make water not wet. The
sooner people accept this, and build business models that take this into
account, the sooner people will start making money again.2
- Bruce Schneier