Permissions re: Mount Volume/Connect to Server

I wrote a simple little AppleScript to automate users' weekly email backup. the script gets triggered by the user's email client (Entourage)... Here's the script:
tell application "Finder"
mount volume "afp://SERVER.ADDRESS/USER BACKUP"
duplicate folder "USER'S EMAIL FOLDER" of startup disk to folder "USER'S BACKUP FOLDER" of disk "USER BACKUP" with replacing
end tell
However, I've noticed that this script only works if I have the user's folder permissions set to "read and write" for everyone (I can't set individual user permissions to restrict access)
How can I run this script in a way that will authenticate on the fly and then restrict access accordingly?
  Mac OS X (10.4.7)  

Mount volume doesn't have to go through the finder AFAIK. Also, I'd put the username and password in the applescript.
mount volume "afp://username:[email protected]/somemountpoint"
Or if you don't want to put the u/name and password, write a script that prompts for them.
HTH
edit: but I think you're right going through the finder, otherwise your your duplicate command would probably not work. It would have to be "do shell script cp blah blah" or "do shell script ditto -rsrcFork blah blah"
Message was edited by: Ang Moh

Similar Messages

  • Problem in script mounting volume on VPN-server

    Hi,
    I try to set up the app Chronosync to make a regular backup on a disc volume that is at the University.
    Chronosync can be told to backup at certain times, but the folder/volume needs to be mounted.
    Chronosync can start an applescript to do this automated.
    I made a script that opens the VPN, but I fail to get it to mount the specific volume on the server.
    This is what I have so far:
    tell application "System Events"
              tell current location of network preferences
                        set VPNservice to service "***"  --replace asterix by name of VPN-server
                        set isConnected to connected of current configuration of VPNservice
                        tell application "System Events" to tell process VPNservice to activate
                        if not isConnected then
      connect VPNservice
                                  delay 1
                                  tell application "System Events" to tell process VPNservice to keystroke "******" --replace asterix by password
                                  tell application "System Events" to tell process VPNservice to keystroke return
                        end if
              end tell
    end tell
    This opens the vpn connection, and from there it should be just mounting the personal volume on the university's server.
    Actually it looks fairly simple to do: Finder > Go > connect to server > click smb://***** and off you are.
    But I just don't get this last piece working.
    Help is very welcome!

    I managed to get a step further and have the script working - that is to say in Applescript. But when I start the script in Chronosync it will not perform the second action, mounting the volume.
    Why would that be??
    tell application "System Events" 
              tell current location of network preferences
                        set VPNservice to service "VPN***"
                        set isConnected to connected of current configuration of VPNservice
                        tell application "System Events" to tell process VPNservice to activate
                        if not isConnected then
      connect VPNservice
                                  delay 1
                                  tell application "System Events" to tell process VPNservice to keystroke "--password"
                                  tell application "System Events" to tell process VPNservice to keystroke return
                        end if
              end tell
    end tell
    delay 4
    tell application "Finder" to open location "smb://username:password@servername/username"

  • Nothing mounts when connecting to server

    We just installed a new MAC OSX Server at our office. I was able to connect once via the 192...address. Now when I try to connect, it allows me to type in my password and displays the list of volumes to mount. When I click them and hit ok, nothing happens, not even an error message. Usually the volumes would show up on my desktop. All other people in the office can connect, both macs and pc's. I have tried rebooting my machine and deleting it from the keychain. No new software has been installed. Any ideas at all would be greatly appreciated.

    Wow, that is one cryptic error message. It sure sounds as if your version of AFP_VFS doesn't match that of the server. Or at least when it tried to reconnect? I wish I could tell you what it meant. One possible cause is a bad network connection. A flaky ethernet cable might get you that result.
    Another thing to do is to try by hand, run /Applications/Utilities/Terminal and enter
    $ mkdir /Volumes/test
    $ mount_afp "afp://user:pass@server/share/" /Volumes/test
    where the string "afp://user:pass@server/share/" should match whatever it is you use for a url to connect. With any luck, you'll get more verbose error messages, and perhaps they'll be meaningful this time. You may wind up with AppleCare on this one, but at least you should have something useful to report. Or maybe we'll see what to do. That "Wrong version" part sounds pretty serious, though. I just wish it had said what that wrong version was!

  • Mount volume with windows server password (not remembering the password)

    Hello,
    I have a setup through "System Preferences" "Users & Groups" "Login Items", wherein there is a volume which is mounted upon login. Set volume is within a Windows Server domain, for which I have credentials to login.
    My question is related, to the fact that OSX (under Snow Leopard nor Lion), seems to remeber the password for said login, even though the checkbox for "remeber this password, etc." is set. So everyday I need to type in my password for it to mount the volume.

    Satellite C875-S7303
    If you have a Microsoft account, you can reset the Windows password easily. So do you have that or a local account?
    -Jerry

  • OES2sp2 miggui Failed to mount volume

    Trying to migrate NW65SP8 (DS8.8.4) to OES2sp2.
    miggui is running on the OES2sp2 server which is patched up to date using rug.
    Source and target servers are in the came container in the DS.
    I can define the source and target servers and get to the point where I want to configure the migration of volumes, but then I get a failure. The log (minus the timestamps for clarity) reads:
    ERROR - FILESYSTEM:volmount.rb:Command to mount source: ruby /opt/novell/migration/sbin/volmount.rb -s 138.37.100.118 -a "cn=joshua,ou=sys,o=qmw" -c cp437 -f "/var/opt/novell/migration/cc18/fs/mnt/source" -m -t NW65
    INFO - FILESYSTEM:volmount.rb:*****************Command output start**********************************
    INFO - FILESYSTEM:volmount.rb:
    INFO - FILESYSTEM:volmount.rb:Information: ncpmount using code page 437
    INFO - FILESYSTEM:volmount.rb:Information: ncpshell command executed as: LC_ALL=en_US.UTF-8 /opt/novell/ncpserv/sbin/ncpshell --volumes --ip=138.37.100.118 --u="joshua.sys.qmw"
    INFO - FILESYSTEM:volmount.rb:Information: Mounting Volume = _ADMIN
    INFO - FILESYSTEM:volmount.rb:Information: Executing command: /opt/novell/ncl/bin/nwmap -s 138.37.100.118 -d /var/opt/novell/migration/cc18/fs/mnt/source/_ADMIN -v _ADMIN
    INFO - FILESYSTEM:volmount.rb:Fatal: Failed to mount volume _ADMIN for server 138.37.100.118
    INFO - FILESYSTEM:volmount.rb:Fatal: SystemCallError, Unknown error 1008 - Failed to mount volume _ADMIN for server 138.37.100.118 .
    I tried executing what appears to be the offending command by hand:
    ruby /opt/novell/migration/sbin/volmount.rb -s 138.37.100.118 -a "cn=joshua,ou=sys,o=qmw" -c cp437 -f "K" -m -t NW65 -p password --debug
    which produces the output:
    Information: ncpmount using code page 437
    Information: ncpshell command executed as: LC_ALL=en_US.UTF-8 /opt/novell/ncpserv/sbin/ncpshell --volumes --ip=138.37.100.118 --u="joshua.sys.qmw"
    Information: Mounting Volume = _ADMIN
    Information: Executing command: /opt/novell/ncl/bin/nwmap -s 138.37.100.118 -d K/_ADMIN -v _ADMIN
    Fatal: Failed to mount volume _ADMIN for server 138.37.100.118
    Fatal: SystemCallError, Unknown error 1008 - Failed to mount volume _ADMIN for server 138.37.100.118 .
    Information: File K/_ADMIN/Novell/Cluster/PoolConfig.xml does not exist. No cluster resources attached
    Information: Mounting Volume = SYS
    Information: Executing command: /opt/novell/ncl/bin/nwmap -s 138.37.100.118 -d K/SYS -v SYS
    Fatal: Failed to mount volume SYS for server 138.37.100.118
    Information: unmounting all mounted volumes
    Information: Executing command:/opt/novell/ncl/bin/nwlogout -f -s QMWCC18
    Cannot perform logout: Cannot connect to server:[QMWCC18]. Error:NWCCOpenConnByName:
    Information: Command Output:
    Information: Executing command: rm K/*
    rm: cannot remove `K/*': No such file or directory
    Fatal: SystemCallError, Unknown error 1008 - Failed to mount volume SYS for server 138.37.100.118 .
    SLP shows both servers, they are on the same network as each other, and the firewall is turned off.
    Does anyone have any idea what may be causing the mount failure or what error 1008 might be?
    Tim

    cgaa183 wrote:
    > Thankyou all for helpful suggestions, I'll go through them.
    >
    > 1. novfsd
    > /etc/rc.d/novfsd status
    >
    > running
    >
    > /etc/rc.d/novfsd restart
    > Stopping Novell novfs daemon...
    >
    > done
    > Starting Novell novfs daemon...
    >
    > No Config File Found - Using Defaults
    > novfsd: Novell Client for Linux Daemon
    > Copyright 1992-2005, by Novell, Inc. All rights reserved.
    > Version 3.0.1-503
    >
    > done
    >
    > Nothing changes, so I don't think that was the problem in this case.
    >
    did you restart the server after installing OES2 SP2?
    > 2. try using migfiles
    > /opt/novell/migration/sbin/migfiles -s 138.37.100.118 -v APPS -V APPS
    >
    > The result:
    > Error:
    > Error: nbackup: Unable to retrieve the Target Service Name list from
    > 138.37.100.118
    > Error:
    > Fatal: nbackup command failed to execute: nbackup: Connection denied
    >
    migfiles is not able to connect to the TSA on the source server. Either
    TSAFS is not loaded on the source server or not able to locate the TSA
    using SLP.
    > This might be informative to someone who knows a little more than me. I
    > wonder if I can call it with options to get more information. I have
    > just re-checked I can attach and mount volumes with the same username
    > from another system.
    >
    > 3. ruby version
    >
    > rpm -qa |grep ruby
    > ruby-1.8.4-17.20
    > rubygems-0.9.2-4.4
    > rubygem-needle-1.3.0-1.5
    > rubygem-net-sftp-1.1.0-1.5
    > ruby-devel-1.8.4-17.20
    > rubygem-net-ssh-1.0.9-1.5
    >
    > Doesn't appear to be an afflicted version and migfiles --help tells
    > me all about the options available.
    >
    >
    > As #2 looked interesting I thought I'd look at it a bit more. I turned
    > up TID 7001767. The reason migfiles failed for me was that SMDR and
    > TSAFS weren't loaded, at least I don't get the error and file migration
    > appears to start now they are loaded, though it does appear to have
    > ceased copying files rather prematurely....
    >
    > Going back to volmount.rb I now realise its using ncpfs, and not a
    > lightweight Novell client. So I tried mounting a volume by hand:
    >
    > qmwcc28:~ # ncpmount -S 138.37.100.118 -U joshua.sys.qmw K
    > Logging into 138.37.100.118 as JOSHUA.SYS.QMW
    > Password:
    > ncpmount: Server not found (0x8847) when trying to find 138.37.100.118
    >
    > A bit of a giveaway, but why doesn't it work?
    > It seems I need to use -A DNSname -S servername and then it works.
    > The next important bit seems to be
    > /opt/novell/ncpserv/sbin/ncpshell --volumes --ip=138.37.100.118
    > --u="joshua.sys.qmw"
    > which executed by hand lists volumes correctly with the output:
    > Please enter your password ?
    > [0] SYS
    > [1] _ADMIN
    > [2] APPS
    > 3 NCP Volumes Mounted
    >
    > "ncpshell" appears to be from Novell's client for Linux so I don't
    > understand why we'd be trying to use that if we're using ncpfs, and we
    > already know which volumes are mounted by looking in the folder in which
    > we mounted the server using ncpfs. AFAICS is used to invoke NLMs on
    > NetWare remotely using OES so its not testing anything we don't already
    > know.
    >
    > This takes me inevitably to "nwmap". "nwmap" is also from Novell's
    > client for Linux so maybe the ncpfs stuff is unnecessary.
    > /opt/novell/ncl/bin/nwmap -s 138.37.100.118 -d sys -v SYS
    > produces:
    > map: server not Found:138.37.100.118 - drive sys not mapped
    >
    ncpmount uses udp as the default. Add the option -o tcp to the ncpmount
    command then mount should work.
    > nwmap doesn't ask for a username. Maybe I'm wrong, but as far as the
    > Novell client goes I don't think it can have attached or logged into the
    > source server (ncpfs having a different connection table and ncpshell
    > asking the remote server to return the answer). I can't actually see
    > where /volmount.rb is calling nwmap at the moment but the results I get
    > my calling it at the command prompt with the same options given in the
    > log are the same.
    >
    if there is an existing connection to the same tree, nwmap does not ask
    for user name. Use the command "nwconnections" to check the existing
    connections. Use nwlogout to logout the connection. check
    /var/opt/novell/nclmnt/root/ for any stale entries.
    > I've tried logging in using nwlogin, but that fails too saying:
    > Cannot perform login: The system could not log you into the network.
    > Make sure that the name and connection information are correct, then
    > type your password again.
    >
    > ncl_scanner -T does list NDS trees but I suspect its only querying an
    > SLP server and nothing more useful. ncl_scanner -S produces:
    > INFORMATION FOR SERVER [QMWCC18] :
    > Server Name : [QMWCC18]
    > Bindery : [FALSE]
    > eDirectory Context : []
    > should it show a context?
    >
    > Looking at the files of the Novell client on the system, it looks a
    > rather cut down set with no config files. Even having introduced
    > protocol.conf the situation is not improved, but I'm now sure the
    > problem lies in this area. Possibly a full client installation is
    > required, or maybe there is something else wrong which is preventing the
    > client from working correctly. namcd is looking suspect.
    >
    >
    You do not need all files for Novel Client. If you want
    You can logout all connections using the command "nwlogout -a" and try
    the nwmap command again.
    "/opt/novell/ncl/bin/nwmap -s 138.37.100.118 -d
    /var/opt/novell/migration/cc18/fs/mnt/source/SYS -v SYS"
    Looks like the novell client is failed to resolve the IP address. You
    can do the following to configure different name resolution methods in
    the following way:
    Create a file: /etc/opt/novell/ncl/protocol.conf with data.
    Name_Resolution_Providers=NCP,SLP,DNS
    then restart rcnovfsd deamon using the command "rcnovfsd restart"
    do you see any NCP errors in the network packet trace?
    regards
    Praveen

  • Finder throwing error -1401 when attempting to open files on mounted volume

    Alright, this is driving me nuts. At random, Finder will refuse to open files on a mounted volume on my server. It throws the error "The application can't be opened. -1401" and then "The operation can’t be completed. An unexpected error occurred (error code -1401)." back to back. It doesn't matter what the file type is, as far as I can tell (.jpg, .xlsx and .pdf are on there).
    From that point on, I can navigate those volumes to the point that I have navigated them since the volume was mounted at start up, but can't go any deeper into the directories or open anything. Finder also won't eject the volume. I can't open files from within applications, either.
    I have to reboot for it to work again.
    However, if I jump into Parallels I can open anything on the server. Even Acrobat files, which open in the Mac environment and not within the virtual machine.
    Does anyone have any insight to what might be causing this? I searched and can't find anything.
    Thanks,
    Brian

    Restart your computer with the Shift key held down,
    and then open the Startup Items folder inside the
    System Folder. Throw away all of the aliases you find
    in this folder and then empty the trash.
    To quit AppleWorks or another application when it
    won't respond, hold down the Option, Command, and Esc
    keys, and then click the Force Quit button. You
    should also use the Disk First Aid application in the
    Applications (Mac OS 9):Utilities folder to verify
    your hard disk, as something may have been damaged
    when you shut the machine down using that method.
    (11882)

  • Connect to server/Mount Volume not honoring user in URL

    I connect to an SMB share on a Windows server in a domain using a particular domain user, for example smb://user1@myserver1 . I then connect to a different server in the same domain with a different user, for example smb://user2@myserver2 . The SMB mounter in OS X 10.7 ignores the user specified in the second URL, and instead uses the user from the first mount point instead. This is very troubling for people that have to connect to different servers with different users. I've verified that this is what actually happens by mounting an SMB share on a Windows server, and then viewing the Open File Sessions in the Computer Management snap-in. Rather than seeing the user that I specified in the URL (user2), I'm instead seeing the user that I initially used to connect to a completely different server (user1).

    As I said I never used this before Lion and I don;t have any smb shares to test on but this is what I've found which may be of help:
    The following workflow connects to my MB from an iMac:
    Notice that the MB name is administrator's MacBook with a space and an apostrophe. Notice the %chars for the space and the apos so I don't think that the %20 for the space in your case is causing the problem.
    When I tried this by entering afp://administrator's MacBook it failed. The error message showed the special chars converted as in the url that worked what was missing was the everything after the _ in the name.
    When I did a connect to server in the Finder and selected Recent servers from the pull down and selected administrator's MacBook the url in the action above was shown. I copied the url from the server address line and pasted into the Automater action.
    This might be of some help in your case at least it might show if the %20 is really causing the problem.
    regards

  • Unable to mount dfs volume from Windows Server 2008 R2

    I am trying to use Finder|Go|Connect to Server to connect to a DFS volume shared by a Windows Server 2008 R2 machine.  I get the following errors:
    A dialog box that says, "There was a problem connecting to the server "server name".  Contact your system administrator for more information"
    Messages in the log:
    PM kernel: smb_ntstatus_error_to_errno: Couldn't map ntstatus (0xc0000225) to errno returning EIO
    PM NetAuthSysAgent: checkForDfsReferral: mounting dfs url failed , syserr = Input/output error
    PM NetAuthSysAgent: smb_mount: mount failed to <server name>, syserr = Input/output error
    I've seen a reference to this article (https://discussions.apple.com/thread/3258472) to fix similar problems but that seems only to apply to Mac-based servers not Windows servers.
    I called AppleCare but they said they are unable to troubleshoot a problem originating on a Windows Server. 
    The Mac is running 10.7.4 but the problem happens on 10.7.3 as well.
    I can connect to non-DFS volumes from other Windows Servers with no issue. 

    After some more digging around I found out that it works when using the cifs: prefix instead of the smb: prefix in Finder|Go|Connect to Server. 
    So instead of using the name smb://servername.company.com I use the name cifs://servername.company.com. 

  • Unable to Connect to Mounted Volumes via AFP; Local Network

    Server's name is Boing. If I try: Connect to Server: afp://Boing.local I'm given a list of possible volumes. However, this list only includes my home directory and every user's Public Folder. I am an admin user:
    uid=516(mnewman) gid=516(mnewman) groups=516(mnewman),101(com.apple.sharepoint.group.1),105(com.apple.sharepoint. group.3),103(com.apple.accessscreensharing),98(_lpadmin),102(com.apple.access_ssh),81(_appserveradm),79(appserverusr),80(admin),20(staff),106(com.apple.sharepoint.group.4),104(com.appl e.sharepoint.group.2)
    I should have access to all mounted volumes:
    drwxrwxr-t 56 root admin - 1972 May 17 13:39 /Volumes/Banana
    drwxrwxr-x 13 mnewman mnewman - 510 Jan 14 09:17 /Volumes/Farang
    lrwxr-xr-x 1 root admin - 1 May 21 10:46 /Volumes/Fuji -> /
    drwxrwxr-x 12 mnewman mnewman - 476 Apr 20 08:29 /Volumes/Guava
    drwxrwxr-t 17 root admin - 646 May 17 13:39 /Volumes/Lime
    If I ssh into Boing, I can get to everything.
    If a different admin user connects to Boing via afp she can get to everything.
    What has happened to my account that permits me afp access only to public shares?

    Amazing:
    I used Apple's Workgroup Manager to add a short name (mgnewman) to my account.
    Using that short name I can now connect to Boing using the Finder's Go->Connect To Server...
    and, all the mounted volumes are shown.
    Workgroup Manager shows "mnewman" as my default short name. But, it doesn't work right
    for afp connections either through the GUI or command line. But, my newly added short user
    name works just fine. (Oddly, my Dot Mac e-mail address, also shown as a short user name in
    Workgroup Manager, also works....)
    I suspect that the Directory Services database is somehow corrupt.
    Is there a way to rebuild it?

  • Server: Can not mount volume

    Hello,
    I would like to connect my Mac Book Pro leopard to the Server of the office.
    It use to work well before I upgraded to Leopard.
    I usually do:
    ->Go / connect to server
    ->afp://192.168.1.115
    Then Mac recognized the server called "datashield"
    It give me the choice to select the volume "info" or "share"
    When I click one or the other, I have the following message:
    ->A volume failed to be mounted
    Everybody else in the office can connect to the server...
    Does anyone can help me?

    I did run Disk utility.
    It appears that everything if fine.
    Then it my left panel under "share" i do see now the "datashield"
    I can access it and appears the folder "info" and "share"
    I can access "info" no problem.
    I can not access "share". The message is that the original item can not be found.
    We did create "share2". Same problem, the original item can not be found.
    I tried the old way: Connect to server....
    I have exactly the same message error.
    Any other suggestions?

  • When connecting to server the other computers will not mount on the desktop

    Hello
    I have three computers connected wireless and ethernet. When connecting to the imac and mac pro with my macbook pro the other computers will not mount on the desktop. I have never had a problem like this before.
    The imac and mac pro will mount the laptop or imac and the imac will mount the mac pro and laptop.
    When I connect to the server with the laptop I can access everything thru the shared folders but nothing will mount on the laptop desktop using the, connect to server.
    External HD connected with firewire will mount and the internal cd/dvd will mount.
    I have ran permissions repair on the laptop. Have I accidently changed some configuration I am not aware of?
    Any help or advice is greatly appreciated
    Thank You
    Dick

    Dick,
    I know this sounds silly but while in Finder goto (Finder)/(Preferences) and then make sure your on the (General) tab, make sure all the things you want to show are checked.
    If that doesn't help move the com.apple.finder.plist to the desktop you can find in in ~/Library/Preferences ( ~ = Your Home Folder), log out/log in, and see if that fixes the problem if not go ahead and move the plist file back.
    hope that helps,
    Weston

  • Mounting remote AFP volumes on Panther Server from Tiger client.

    Has anyone else had this problem....
    When connecting to a remote AFP share hosted on a Mac OS X 10.3.9 server I receive a message "Mount Failed, Could not mount volume “sharename.”. This happens when I enter the FQDN followed by the share name, for example "afp://servername.domain.co.uk/sharepoint". The client is part of an Open Directory domain and automounts work fine during boot as the home directory sharepoint works with local and remote homes. I have setup many 10.3.9 servers and have never encountered this issue on a Panther client.
    Any help would be much appreciated and its driving me to distraction!
    Regards
    James.

    We are not using the server for users' home directories, but thanks for that tip.
    Today we have also started having issues at another site with a 10.3.8 server and Tiger clients. The behavior is a little different: when connecting to the Pather server with Tiger clients using a keychain-saved password, the client machine will freeze and must be rebooted. The server is showing no process crashes. Deleting the keychain and entering the password each time fixes the problem.
    At the other site, the server is 10.3.9 and when Tiger clients tried to connect using a keychain password, their machine would get a spinning beach ball, but they could get out of it.

  • How can I migrate file shares & permissions from one volume to another on the same server?

    I am replacing a storage array and as part of that process, I need to move files/folders and Shares/permissions from one Volume to another volume within the same server.
    The server is Windows 2003 file server.  The file transfers are not a problem, moving all 40 shares with permissions etc. is my main concern because in order to maintain everything I need to change the drive letter of the new volume to match the old
    one so that links to various resources throughout the network do not break.

    Hi, 
    If you want to copy files/folders from one Volume to another volume within the same server, you could use the File Server Migration Tool (FSMT) or Robocopy to accomplish your goals. The tool can move all of the files from the shares on your original volume
    to the new volume.
    For more detailed information, you could refer to the articles below:
    File Server Migration Toolkit
    http://technet.microsoft.com/en-us/magazine/2006.10.utilityspotlight.aspx
    The File Server Migration Toolkit (FSMT) is a free download available at:
    http://www.microsoft.com/en-us/download/details.aspx?DisplayLang=en&id=10268
    Robocopy
    http://technet.microsoft.com/en-us/library/cc733145.aspx
    FSMT and Robocopy will not copy Share permissions but only NTFS permissions. So if the drive letter will not be changed, you can backup and restore the Share permission with steps here:
    Saving and restoring existing Windows shares
    http://support.microsoft.com/kb/125996
    Regards, 
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Automator "Connect to Server" doesn't work with spaces in volume name

    I'm trying to use an old Automator Workflow I had set up in Snow Leopard that connected to a list of specified server mounts (both Windows smb:// and Apple afp://). It works fine for most of them, until it hits a mount point that has a space in it, where it fails. Looking at the debug area it looks like it's trying to connect to "smb://Server/Example%20Name" instead of "smb://Server/Example Name" and failing. Yet, when I use the "Connect to Server…" functionality in Finder, the same URL works just fine. Is there any syntax that will make this work correctly in Automator?

    As I said I never used this before Lion and I don;t have any smb shares to test on but this is what I've found which may be of help:
    The following workflow connects to my MB from an iMac:
    Notice that the MB name is administrator's MacBook with a space and an apostrophe. Notice the %chars for the space and the apos so I don't think that the %20 for the space in your case is causing the problem.
    When I tried this by entering afp://administrator's MacBook it failed. The error message showed the special chars converted as in the url that worked what was missing was the everything after the _ in the name.
    When I did a connect to server in the Finder and selected Recent servers from the pull down and selected administrator's MacBook the url in the action above was shown. I copied the url from the server address line and pasted into the Automater action.
    This might be of some help in your case at least it might show if the %20 is really causing the problem.
    regards

  • Windows Server 2012R2 Failover Cluster error with mounted volumes

    Hi all,
    I've a problem with mounted volume on a WSFC build on top of Windows Server 2012R2, the situation is:
    M: is the volume hosting mounting points
    disk-1, disk-2, disk-3 are volume mounted on M:\SomeFolder
    Theese volumes are used by a SQL Server Failover Cluster Instance, but my problem is related to WSFC. I've set dependencies so disk-1, disk-2, disk-3 depend upon H:
    If I try a failover of the role "SQL Server" I observe that when the disk come online in the other node they fail with this error:
    Cluster resource 'disk-1' of type 'Physical Disk' in clustered role 'SQL Server (ISQL2014A)' failed. The error code was '0xaa' ('The requested resource is in use.').
    Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it.  Check the resource and group state using Failover Cluster
    Manager or the Get-ClusterResource Windows PowerShell cmdlet.
    If I manually take offline H: and than bring it online and then manually take online all disk (1 to 3) they come online with no error.
    I'm going crazy!

    I've found the root of the problem: the servers are virtual machine on a VMware ESX 5.5 infrastructure, VMware claims that on 5.5 multipath is supported for raw device mapping disks but disabling multipath (I've set to fixed path) the Windows Server Failover
    Cluster stops to get problems.
    Now we have opened a support call with VMware.

Maybe you are looking for

  • Loop through a model to get variables and values

    I use an AS model (named AppGlobals.as) to store the application variables. I need to replace the hard-coded values of the elements to ones pulled from a database. As such, I need to iterate through the model to find all the elements that match my qu

  • SAP Strategy management installation

    Hi Experts, i am new to SAP strategy management. I need a step by step way of installing SAP strategy management on windows server. I really need someone who has implemented SAP strategy management to assist me to install this application successfull

  • Error when trying to "Save for Web"

    I, like others have the same problem in Photoshop Elements 6 editor when trying to "Save for Web". I get an error:  could not complete the export command because of a program error I've searched the forum, but it seems like no one has found a solutio

  • How do i get my songs back if itunes wipes them off?

    i plugged my iphone into the laptop to transfer my new songs to my library and its wiped all the songs i've just bought off my phone, how do i get them back?

  • Can't drag movies into my nano from itunes

    I have a Nano 5th gen and when i connect it to itunes and try to sync movies i get a message saying that the movie can not be played on my ipod. can anybody help?