AFP mounted volumes - Rainbow cursor

Hi everybody,
I have a problem with our OS X 10.4.6 Server. Since a little while, i'm getting the following error.
Users who are connect to an AFP share (located on RAID system through SCSI) are getting a Rainbow cursor randomly on the AFP share. The network icon of the server turns in to a "do not enter" folder (red circle with white line). The user then has to restart the computer and reconnect to the server. Last week this issue caused a panic on the server.
The workstations are a mix of 10.3.9, 10.4.6 and a couple of OS 9 machines. The Workstations are directly working from the share. (they do not copy anything to the desktop).
The server is set-up with the following functions:
- Mail
- FTP
- AFP
- DNS
- Web
- Open Directory master
- Quark License manager
- Distiller + Pitstop server
The log files do not show anything about AFP sharing issues.
Does anyone have any ideas on what can cause this, so that i can solve this issue.
Thanx in advance

Buckster,
Sorry for the very late reply.
I tried your recommendation, but the volume appears to be OK.
Then a few days later the OS X 10.4.7. was deployed by apple. I installed this update and the problems were all gone. (of course before the update i tried rebooting the server, which did not help).
With the 10.4.7 another problem i had is solved to. The server would not shutdown or reboot. According to the system.log the server could not stop the mail service an so was hanging at the end of an reboot or shutdown with the turning clock. Only a hard poweroff could shutdown the server at that moment.
Thank you for your help.
Martva

Similar Messages

  • Searches within InDesign Have Stopped Working on AFP Mounted Volumes On OS X 10.9

    I have run into a new problem since using InDesign CC on a Mac running Mavericks, the search function has ceased working on AFP mounted volumes. For example, when placing an image, if I navigate to a pot of images on my server and then tap in part of the file name within the search field there is nothing found, even though the file name I am searching for is there.
    I have spoken to Adobe technical support who said "well I do apologize for your inconvenience however adobe does not support if the file is on the network. We would be happy to help you if there is any issue with Search if the files are located locally". Slightly frustrating answer!
    This issue looks to be related to the Mavericks operating system as I have Macs running OS X 10.8 which are fine, it is only the OS X 10.9 Macs that have this problem. Is anyone else having these issues?

    I have no problem on two Macs running Mac OS X 10.9.2 with InDesign CC 9.2.
    Have you started by restoring your preferences. Here's how:
    Trash, Replace, Reset, or Restore the application Preferences
    If you use the delete folder method, remember that in OS X 10.9, the <Home> library his hidden. In the Finder, hold down the Option key, and choose Go > Library to make it visible.

  • Finder + ACLs over AFP Mounted Remote Volume

    Hey Guys!
    My Finder is not able to display ACLs on files coming from an AFP mounted volume. The ACLs are there -- ``ls -lef'' displays them correctly. If there some obvious thing here that I'm missing?
    regards,
    P

    Yes, sort of. Whenever you're doing an "opportunistic mount" where the server and client are not joined to the same directory domain, permissions masking will take place. When masking is in effect, it maps access from the currently logged-in user (session owner) on the client to the server share point based on the name and password entered after choosing Go > Connect to Server.
    When dealing with masked permissions, this will be the case:
    * On the client-side, the Finder Info windows may or may not correctly show all ACLs and POSIX permissions of items on the share point. They may simply display effective access - e.g. "you can only read" - without further detail. This depends on the protocol. Typically AFP share points will show correct server-side ACLs and POSIX permissions.
    * On the client-side, listing (ls) the contents of the share point via Terminal will indicate that the session owner has full control and is the "POSIX owner" with others' access at zero (0700). These are the masked permissions, not the real ones.
    * On the server, permissions listed via ls in Terminal or Server Admin's File Sharing section will be the correct ones.
    --Gerrit

  • 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?

  • Delete File From Mounted Volume

    Hey,
    I am trying to delete the "Calendar Cache" files on both my laptop PowerBook G4 and the Mac Pro Quad that I sync my calendars with. I am using ChronoSync and the individual calendars sync fine, but there is a little house keeping needed with the cache file. They need to be deleted on both systems in order to "refresh" the views of the calendars.
    So after the sync of calendars, I have the software initiating an AppleScript that deletes both. Here's the script:
    +(* PowerBook Files / delete cache file *)+
    +(* Please note that both systems have the same username. This may be arise a conflict *)+
    +tell application "Finder"+
    + activate+
    + tell application "Finder" to delete file "Calendar Cache" of folder "Calendars" of folder "Library" of disk "useranthony"+
    +end tell+
    +(* Mac Pro Quad/ delete cache file *)+
    +tell application "Finder"+
    + mount volume "afp://10.10.10.1/anthonyabraira"+
    + tell application "Finder" to delete file "Calendar Cache" of folder "Calendars" of folder "Library" of disk "/volumes/useranthony"+
    +end tell+
    I am having trouble addressing a deletion on the networked Mac Pro Quad.

    why send it to the trash — just delete it...
    (* PowerBook Files / delete cache file )
    try
            do shell script "rm -rf /Library/Calendars/Calendar\\ Cache"
    end try
    you may need a delay for the Mac Pro Quad to mount
    ( Mac Pro Quad/ delete cache file *)
    --the mount and then the delay
    delay 4
    try
            do shell script "rm -rf /THE-CORRECT/PATH-HERE/Library/Calendars/Calendar\\ Cache"
    end try
    Tom

  • Duplicate on mounted volume

    Hi all
    Im putting this script together using AS Studio, the script mounts a volume then goes to a specific folder checks to see if their are files in it that are less than 24 hours old then duplicates them to another folder then unmounts the volume.
    I cant seem to get the files in the folder "Abf:untitled folder:" which are less than 24 hours old to duplicate to folder "Abf:untitled folder 2:", can I get some pointers as to where im going wrong please?
    on clicked theObject
    if name of theObject is "get" then
    tell window "main"
    set Comp_Name to name of current menu item of popup button "COMP"
    set current menu item of popup button "COMP" to first menu item of popup button "COMP"
    end tell
    if (Comp_Name is "ABf") then
    set aDayAgo to the (current date) - 1 * days
    tell application "Finder"
    set myVolume to mount volume "afp://APf:[email protected]/APf"
    delay 5
    get every file of alias "Abf:untitled folder:"
    repeat with thisItem in the result
    if the modification date of thisItem comes after aDayAgo then
    try
    tell application "Finder" to duplicate thisItem to "Abf:untitled folder 2:"
    end try
    end if
    end repeat
    delay 5
    tell application "Finder" to eject "Abf:"
    end tell
    end if
    end if
    end clicked
    Cheers
    Budgie

    Im stumped, and a bit lost, due to my nievity with AS, ive got as far as the below and tried numerous things, but I keep getting the same result.
    AppleScript Error.
    "Finder got an error: Can't get every file of "/Volumes/Absolute Proof/untitled folder/". (-1728)"
    am Im missing the obvious?, or am I a bit thick? (be kind)
    could I get a bit of help with sorting this please?
    on clicked theObject
    if name of theObject is "get" then
    tell window "main"
    set Comp_Name to name of current menu item of popup button "COMP"
    set current menu item of popup button "COMP" to first menu item of popup button "COMP"
    end tell
    if (Comp_Name is "AB-Proof") then
    mount volume "afp://HD:[email protected]/AP"
    delay 5
    set aDayAgo to the (current date) - 1 * days
    tell application "Finder"
    --update folder "AP:untitled folder:"
    run script "Tell app \"finder\" to get every file of POSIX path of alias \"AP:untitled folder:\" "
    repeat with thisItem in the result
    if the modification date of thisItem comes after aDayAgo then
    duplicate thisItem to "AP:untitled folder 2:"
    end if
    end repeat
    end tell
    end if
    end if
    end clicked
    cheers
    Budgie

  • InDesign CS4 (ver.6) can not package all images from afp mounted server

    I'm experiencing an issue on multiple Intel Mac's running OS 10.6.8 when packaging files some of the server based art does not collect.
    In some folers some of the art collects and in the same folder some other files don't.
    The missing files are generally .jpg or .eps and it's a combination of these files that are not being collected.
    Images are sometimes shared between users but the missing images do not appear to be open elsewhere.
    The docuemtns are stored across several AFP mounted server hosted on a Windows 2004 Server running ExtremeZIP to allow AFP cpnnection.
    Moving the files to different volumes on the server does not appear to resolve this issue.
    Any thoughts or questions? Apologies if this isn't clear.

    I just had this happen again with a new InDeslgin CS4 file, I took the missing images and relinked them to a new folder I just created on my desktop and it still does nt collect these files. So not only the server, but now my desktop, and it's not just my computer, I can reproduce on other macs in 10.6.8
    I convertd the files from .EPS (from Photoshop: they're flattned) to .PDF (from Apple Preview) and relinked them, and I was not able to package either.
    I did find the solution:
    I checked off "Include Fonts and Links Hidden and Non-Printing Content"
    even though these items were on visible layers and not on the pasteboard they were excluded before I checked it off.
    Thanks for your help!

  • Mount volume script doesn't work after upgrading to Yoesmite

    I just upgrade my Mac OS to Yosemite and the boot up mount script doesn't work again.
    try
    mount volume "afp://admin:[email protected]/Multimedia/Music"
    mount volume "afp://admin:[email protected]/workspace"
    end try
    Should I modify the mount script and how to do that?
    Thank you so much.
    Matthew Ho

    I am having the exact same problem. I just did a complete re-install of max os x and did all of the updates..my hard drive had crashed so i had to replace it. lot's of fun.. and after the last upgrade i can't use my sound at all.. the sound shows that it's all the way up but it has the "no Smoking" sign as well..
    i have tried to restart.. change options and whatever else i could .. i did notice that when i enable the option to show the sound icon on the main bar that there is just a blank spot where it should be.. and i can't change it form there either because it just doesn't show..
    any one seen this before.. ?
    all my other Mac's work fine..
    please help..

  • Information about mounted volumes

    Hi,
    I am trying to write an Applescript to quickly generate links to files on mounted volumes, which then can be pasted into emails.
    I would like to have the user select a file/folder on the mounted volume; when he executes the script (either from the script menu, or as an Automator action), it would copy the full path (ie afp://server.local/file) into the clipboard.
    The information is accessible from the "Get Info" window, but I can't find a way to read it in AppleScript.
    Any thoughts and pointers are appreciated.
    Best regards // Pascal

    Hi Budgie,
    thanks for the link. Unfortunately the solutions mentioned on that page stop at providing the POSIX path (/Volumes/share/file). I would need to get some information about the actual server, from which the share is mounted.
    Thanks for the tip though.
    //pascal
    Message was edited by: Pascal Wever

  • Mount volume not working in 10.4.6

    Could someone please explain why this script does not work in 10.4.6?
    tell application "Finder"
    activate
    mount volume "afp://192.168.1.100/thesharetomount"
    end tell
    Works fine in 10.3.9 but 10.4.6 gives error "some object was not found"
    Thanks for any info

    Managed to figure out a trick to get around this problem.
    I added user name to the mount command
    tell application "System Events"
    set myuser to get full name of current user
    end tell
    tell application "Finder"
    activate
    mount volume "afp://" & myuser & ":@192.168.1.100/sharetomount"
    end tell
    Now it works but can't figure out why it does not without giving a user name?

  • Authenticated AFP Mount at Login

    Hi All,
       I posted this question on Apple's UNIX Discussion, Authenticated AFP Mount at Login, but I wanted to run it by the specialists here. Hopefully everything I'm going to tell you is in the other thread but I would like to make this post self-contained so that you don't have to read the other post if you don't wish to.
       I have client computers and an AFP server, all of which run 10.4.7. The AFP server is running the server version of OS X with an unlimited license and the clients are running the client version of OS X, all completely up-to-date. I haven't used Open DIrectory. They are all domain joined machines in our Active Directory domain and as such, they are configured as Kerberos clients of the Active Directory domain. All users except the administrator are users of this domain and they have Windoze home directories that are on an SMB share. I would also like them to have shared AFP Mac home directories.
       I like the way that OS X handles the Windoze home directories, putting them in the Dock. If I add a listing in AD for Mac home directories, will OS X still do the same thing with the users' Windoze home directories? I assumed that it wouldn't and so for my domain users, I checked the option to have local home directories created. Then I made /Users a symlink to the mount point of the AFP share. The problem is that I want the mount to be an authenticated mount, using Kerberos for authentication.
       I've tried mounting the share with a LaunchAgent and with a LoginHook. I don't remember whether I got an authenticated mount with the LaunchAgent but I am consistently able to get an authenticated mount with the LoginHook. However, neither of these are executed early enough in the login process. My experience has been that access to home directories is needed seconds before the LoginHook is run. In fact, I had a new home directory created for a user and then the AFP share was mounted on the directory containing the new home directory.
       The only way I could find to have the share available when home directories are first accessed is to automount it. However, I've been unable to make the automounter authenticate. I'm wondering if the Kerberos ticket is even available at the time the home directory is first accessed. Whatever the reason, every attempt to force authentication has simply resulted in a failure of the mount. Of course I was trying to force the issue on the server. If I could configure the client to insist on authentication, maybe the login process would wait until the Kerberos ticket is acquired. Does anyone know how to so configure the client?
       My current solution is a combination of the two methods above. It works surprising well but it's a kludge and I don't trust it to be stable. What I do is to configure the automount and /Users is a symlink to a mount point in /Network/Servers. Then, when the LoginHook runs, not only does it mount the same share (authenticated) in /Volumes, it deletes the /Users symlink and creates a new one that points to the authenticated mount point of the share in /Volumes. Naturally, processes that run early in the login obtain open file descriptors to user files in the unauthenticated mount. Mdimporter is one such process but I assume that such file descriptors are soon closed due to lack of permissions to read and write. After that, I've seen no other problems. When the user logs out, the symlink is restored to point into /Network/Servers and the authenticated share is dismounted.
       My question is whether there are better alternatives to this kludge. I'm loathe to change Active Directory because it would mean also changing our account creation scripts and applications. However, that is possible if that's the only way to do what I want reliably. Any thoughts would be appreciated.
    Gary
    ~~~~
       <SilverStr> media ethics is an oxymoron, much
                   like Jumbo Shrimp and Microsoft Works.
       <MonkAway> not to mention NT Security

    Actually, there's a much simpler way to use your Mac OS X Server to host home directories for your AD users.
    First of all, I would recommend configuring your Mac OS X system as an Open Directory Master then use Directory Access to bind it to Active Directory. Configure the server's authentication search path (policy) starting with /NetInfo/root (closest), then /LDAPv3/127.0.0.1 (Open Directory), then /Active Directory/All Domains.
    Next, use Workgroup Manager to define a share point and create a dynamic mount for it (to /Network/Servers/servername/...path.../share) using the Network Mount tab in Workgroup Manager/Sharing. Define the permissions of this home directory share point such that all users can read only. I recommend root:staff, 755. Ensure that AFP Guest Access is enabled for the share and that AFP Guest Access is turned on for the AFP process in Server Admin. (This share point will be mounted dynamically and will be authenticated when doing so. You shouldn't have to allow guest access but it's often required because the dynamic automounter wants to create a mount point for the home directory share upon startup, where it acts as a static automount.)
    Be absolutely certain that your server has a valid DNS hostname so that the /Network/Servers/servername field remains the same. Plus, you'll need that for Kerberos anyway.
    Third, you'll need to figure out how to store the dsAttrTypeStandard:NFSHomeDirectory (home) and dsAttrTypeStandard:HomeDirectory (home_loc) attributes in user accounts in Active Directory. You can use Apple's schema (published in the User Management Admin Guide for Mac OS X 10.4) or you can repurpose existing unused attributes in user accounts already in AD. If you're repurposing, you'll need to use the AdsiEdit.msc snap-in to do so, and each attribute should have a single value of UTF-8 (Unicode) string.
    If you're repurposing: On your server, you'll need to "tell" the systems about the repurposed attributes by manually editing the ActiveDirectory.plist file. In Property List Editor, open the file (change its permissions so that you can write first), expand the AD Attribute Mappings Table, then expand the dsRecTypeStandard:Users array. Look for items whose values are dsAttrTypeStandard:NFSHomeDirectory and dsAttrTypeStandard:HomeDirectory and change their names to the appropriate numeric ID of the AD attribute that you're using to store the respective information.
    Either way, when populating the attributes for NFSHomeDirectory and HomeDirectory for each user account, use the following syntax:
    NFSHomeDirectory is the path to the home from the client's point of view: /Network/Servers/homeserver.somewhere.com/Volumes/ServerHD2/Homes, for example.
    HomeDirectory contains the AFP URL and path to the user's home like: <homedir><url>afp://homeserver.somewhere.com/Homes</url><path>joey</path></homedir>
    Fourth, on your home directory server, you'll want to make sure that it's joined to the same Kerberos realm as the Active Directory domain controllers.
    You can bind your clients to either the Open Directory domain, Active Directory Domain, or both. If you bind them to AD, you'll have to make the necessary edits to the ActiveDirectory.plist file if you're repurposing unused AD attributes.
    --Gerrit

  • Kanaka Client unable Mount volume

    I have OES11SP2 on SLES 11 SP3 on which I am running KANAKA ENGINE to mount volumes on MAC Client from servers running under same Tree.
    Created eDirectory user account which have rights on volumes from two servers under the same tree.
    example: 1) abc (volume) under Server1 (Running Kanaka engine)
    2) xyz (volume) under Server2
    Note: Tested AFP connectivity working without issues for both the volumes from MAC OS, also eDirectory users can map both volumes on windows machine with Novell client login.
    Issue is I cannot mount volume from Server2 using KANAKA Client on MAC OS. However Server1(running kanaka engine) can able to mount.
    any help is highly appreciated.

    01 2014-12-14 20:03:42 10800 1 0001 13780 7f5258c2c760 Engine::SignalHandler() - Invoked. Signal = {SIGTERM} 15.
    01 2014-12-14 20:03:45 10800 5 0001 13780 7f524e92d700 WD: Engine mainline thread is leaving the Watch Dog function...
    82 2014-12-14 20:03:45 10800 0 ff08 13780 7f524e12c700 <CONFIG><LEVEL>5</LEVEL><CATEGORY/></CONFIG>
    82 2014-12-14 20:03:45 10800 0 ff09 13780 7f524e12c700 <CONFIG><LEVEL>5</LEVEL><CATEGORY/></CONFIG>
    01 2014-12-14 20:03:45 10800 5 0001 13780 7f524e92d700 ML: Engine is shutting down...
    01 2014-12-14 20:03:45 10800 5 0001 13780 7f524e92d700 ML: Terminating the HTTPx Server subsystem...
    01 2014-12-14 20:03:45 10800 5 0001 13780 7f524e92d700 ML: Terminating the User Index Manager subsystem...
    01 2014-12-14 20:03:45 10800 5 0007 13780 7f524e92d700 Index Manager: Shutting Down...
    01 2014-12-14 20:03:45 10800 5 0007 13780 7f524e92d700 Index Manager: Waiting for Scheduler Thread to Terminate...
    01 2014-12-14 20:03:46 10800 5 0007 13780 7f524e92d700 Index Manager: Waiting for All Worker Threads to Terminate...
    01 2014-12-14 20:03:46 10800 5 0007 13780 7f524e92d700 Index Manager: Shut Down Complete...
    01 2014-12-14 20:03:46 10800 5 0001 13780 7f524e92d700 ML: Configuring the Novell XPLAT environment to no longer perform logging...
    01 2014-12-14 20:03:46 10800 5 0001 13780 7f524e92d700 ML: Saving state information...
    01 2014-12-14 20:03:46 10800 5 0001 13780 7f524e92d700 ML: Saving the Salt state information...
    01 2014-12-14 20:03:46 10800 5 0001 13780 7f524e92d700 ML: Saved the Salt state information, bResult = 1.
    01 2014-12-14 20:03:46 10800 5 0001 13780 7f524e92d700 ML: Completed saving state information, bOK = 1.
    01 2014-12-14 20:03:46 10800 5 0001 13780 7f524e92d700 ML: Engine has shut down. Thread is terminating...
    01 2014-12-14 20:03:46 10800 0 8001 13780 7f524e12c700 Shutting down the Logger. Closing log file "/var/opt/novell/kanaka/engine/log/novell-kanakaengined-20141202-132804.log".
    81 2014-12-14 20:03:46 10800 0 8001 13780 7f524e12c700 <LOGFILECLOSE/>
    81 2014-12-14 20:03:49 10800 0 8001 10919 7f517cb27700 <LOGFILEOPEN/>
    81 2014-12-14 20:03:49 10800 0 8001 10919 7f517cb27700 <LOGGER><VERSION>1</VERSION><APPNAME>novell-kanakaengined</APPNAME><TZBIAS>10800</TZBIAS><OSVERSIONINFO>Kernel Name: Linux, Architecture: x86_64, Kernel Release: 3.0.76-0.11-default, Kernel Version: #1 SMP Fri Jun 14 08:21:43 UTC 2013 (ccab990), Machine HW Name: x86_64</OSVERSIONINFO><OSBITS>64</OSBITS><APPBINARYFILESPEC>/opt/novell/kanaka/engine/bin/novell-kanakaengined</APPBINARYFILESPEC><APPBITS>64</APPBITS><AppVersion/><PROCESSID>10919</PROCESSID><THREADID>139987961149184</THREADID><LOGFILEPARAMS><ROLLOVERTYPE>2</ROLLOVERTYPE><FILESTORETAIN>10</FILESTORETAIN><FILESIZEMAX>10485760</FILESIZEMAX></LOGFILEPARAMS><LOGLEVELNAMEMAP><ENTRY><LEVEL>0</LEVEL><NAME>Logging Disabled</NAME></ENTRY><ENTRY><LEVEL>1</LEVEL><NAME>Fatal</NAME></ENTRY><ENTRY><LEVEL>2</LEVEL><NAME>Critical</NAME></ENTRY><ENTRY><LEVEL>3</LEVEL><NAME>Error</NAME></ENTRY><ENTRY><LEVEL>4</LEVEL><NAME>Warning</NAME></ENTRY><ENTRY><LEVEL>5</LEVEL><NAME>Informational</NAME></ENTRY><ENTRY><LEVEL>6</LEVEL><NAME>Success</NAME></ENTRY><ENTRY><LEVEL>7</LEVEL><NAME>Verbose</NAME></ENTRY><ENTRY><LEVEL>8</LEVEL><NAME>Debug</NAME></ENTRY></LOGLEVELNAMEMAP><CATEGORYNAMEMAP><ENTRY><CATEGORY> 1</CATEGORY><NAME>Engine Watchdog</NAME></ENTRY><ENTRY><CATEGORY>3</CATEGORY><NAME>Engine Global Class</NAME></ENTRY><ENTRY><CATEGORY>4</CATEGORY><NAME>UI Session Manager</NAME></ENTRY><ENTRY><CATEGORY>5</CATEGORY><NAME>Web UI Session Manager</NAME></ENTRY><ENTRY><CATEGORY>6</CATEGORY><NAME>Client Manager</NAME></ENTRY><ENTRY><CATEGORY>7</CATEGORY><NAME>Index Manager</NAME></ENTRY><ENTRY><CATEGORY>8</CATEGORY><NAME>Login Script Parser</NAME></ENTRY><ENTRY><CATEGORY>32769</CATEGORY><NAME>Logger</NAME></ENTRY><ENTRY><CATEGORY>32770</CATEGORY><NAME>FSTools</NAME></ENTRY><ENTRY><CATEGORY>32771</CATEGORY><NAME>DSTools</NAME></ENTRY><ENTRY><CATEGORY>32772</CATEGORY><NAME>HTTPxServer</NAME></ENTRY><ENTRY><CATEGORY>32773</CATEGORY><NAME>HTTPxClient</NAME></ENTRY><ENTRY><CATEGORY>32774</CATEGORY><NAME>TaskMgr</NAME></ENTRY><ENTRY><CATEGORY>32775</CATEGORY><NAME>NWXPlat</NAME></ENTRY><ENTRY><CATEGORY>32776</CATEGORY><NAME>Storage Resources</NAME></ENTRY><ENTRY><CATEGORY>32777</CATEGORY><NAME>Security</NAME></ENTRY><ENTRY><CATEGORY>32778</CATEGORY><NAME>Thread</NAME></ENTRY><ENTRY><CATEGORY>32779</CATEGORY><NAME>OS Util</NAME></ENTRY><ENTRY><CATEGORY>32780</CATEGORY><NAME>Scheduling Service</NAME></ENTRY></CATEGORYNAMEMAP><LOGFILELOGLEVELMAP><ENTRY><CATEGO RY>0</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>1</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>3</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>4</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>5</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>6</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>7</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>8</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>32769</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>32770</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>32771</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>32772</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>32773</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>32774</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>32775</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>32776</CATEGORY><LEVEL>5</LEVEL></ENTRY></LOGFILELOGLEVELMAP><CONERRLOGLEVELMAP><ENTRY><CATE GORY>0</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>1</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>3</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>4</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>5</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>6</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>7</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>8</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>32769</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>32770</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>32771</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>32772</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>32773</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>32774</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>32775</CATEGORY><LEVEL>5</LEVEL></ENTRY><ENTRY><CATEGORY>32776</CATEGORY><LEVEL>5</LEVEL></ENTRY></CONERRLOGLEVELMAP><SYSLOGLOGLEVELMAP><ENTRY><CATEG ORY>0</CATEGORY><LEVEL>2</LEVEL></ENTRY><ENTRY><CATEGORY>1</CATEGORY><LEVEL>2</LEVEL></ENTRY><ENTRY><CATEGORY>3</CATEGORY><LEVEL>2</LEVEL></ENTRY><ENTRY><CATEGORY>4</CATEGORY><LEVEL>2</LEVEL></ENTRY><ENTRY><CATEGORY>5</CATEGORY><LEVEL>2</LEVEL></ENTRY><ENTRY><CATEGORY>6</CATEGORY><LEVEL>2</LEVEL></ENTRY><ENTRY><CATEGORY>7</CATEGORY><LEVEL>2</LEVEL></ENTRY><ENTRY><CATEGORY>8</CATEGORY><LEVEL>2</LEVEL></ENTRY><ENTRY><CATEGORY>32769</CATEGORY><LEVEL>2</LEVEL></ENTRY><ENTRY><CATEGORY>32770</CATEGORY><LEVEL>2</LEVEL></ENTRY><ENTRY><CATEGORY>32771</CATEGORY><LEVEL>2</LEVEL></ENTRY><ENTRY><CATEGORY>32772</CATEGORY><LEVEL>2</LEVEL></ENTRY><ENTRY><CATEGORY>32773</CATEGORY><LEVEL>2</LEVEL></ENTRY><ENTRY><CATEGORY>32774</CATEGORY><LEVEL>2</LEVEL></ENTRY><ENTRY><CATEGORY>32775</CATEGORY><LEVEL>2</LEVEL></ENTRY><ENTRY><CATEGORY>32776</CATEGORY><LEVEL>2</LEVEL></ENTRY></SYSLOGLOGLEVELMAP><EVENTLOGLOGLEVELMAP><ENTRY><CAT EGORY>0</CATEGORY><LEVEL>0</LEVEL></ENTRY><ENTRY><CATEGORY>1</CATEGORY><LEVEL>0</LEVEL></ENTRY><ENTRY><CATEGORY>32769</CATEGORY><LEVEL>0</LEVEL></ENTRY><ENTRY><CATEGORY>32770</CATEGORY><LEVEL>0</LEVEL></ENTRY><ENTRY><CATEGORY>32771</CATEGORY><LEVEL>0</LEVEL></ENTRY><ENTRY><CATEGORY>32772</CATEGORY><LEVEL>0</LEVEL></ENTRY><ENTRY><CATEGORY>32773</CATEGORY><LEVEL>0</LEVEL></ENTRY><ENTRY><CATEGORY>32774</CATEGORY><LEVEL>0</LEVEL></ENTRY><ENTRY><CATEGORY>32775</CATEGORY><LEVEL>0</LEVEL></ENTRY><ENTRY><CATEGORY>32776</CATEGORY><LEVEL>0</LEVEL></ENTRY></EVENTLOGLOGLEVELMAP><DEBUGPORTLOGLEVELMAP><ENTRY>< CATEGORY>0</CATEGORY><LEVEL>0</LEVEL></ENTRY><ENTRY><CATEGORY>1</CATEGORY><LEVEL>0</LEVEL></ENTRY><ENTRY><CATEGORY>32769</CATEGORY><LEVEL>0</LEVEL></ENTRY><ENTRY><CATEGORY>32770</CATEGORY><LEVEL>0</LEVEL></ENTRY><ENTRY><CATEGORY>32771</CATEGORY><LEVEL>0</LEVEL></ENTRY><ENTRY><CATEGORY>32772</CATEGORY><LEVEL>0</LEVEL></ENTRY><ENTRY><CATEGORY>32773</CATEGORY><LEVEL>0</LEVEL></ENTRY><ENTRY><CATEGORY>32774</CATEGORY><LEVEL>0</LEVEL></ENTRY><ENTRY><CATEGORY>32775</CATEGORY><LEVEL>0</LEVEL></ENTRY><ENTRY><CATEGORY>32776</CATEGORY><LEVEL>0</LEVEL></ENTRY></DEBUGPORTLOGLEVELMAP><SYSLOGPARAMS><SYSLOGLEVEL>1</SYSLOGLEVEL><SYSLOGFACILITY>1</SYSLOGFACILITY><SYSLOGLEVELMAP><ENTRY><LEVEL>1</LEVEL><PRIORITY>2</PRIORITY></ENTRY><ENTRY><LEVEL>2</LEVEL><PRIORITY>2</PRIORITY></ENTRY><ENTRY><LEVEL>3</LEVEL><PRIORITY>3</PRIORITY></ENTRY><ENTRY><LEVEL>4</LEVEL><PRIORITY>4</PRIORITY></ENTRY><ENTRY><LEVEL>5</LEVEL><PRIORITY>5</PRIORITY></ENTRY><ENTRY><LEVEL>6</LEVEL><PRIORITY>5</PRIORITY></ENTRY><ENTRY><LEVEL>7</LEVEL><PRIORITY>6</PRIORITY></ENTRY><ENTRY><LEVEL>8</LEVEL><PRIORITY>7</PRIORITY></ENTRY></SYSLOGLEVELMAP></SYSLOGPARAMS><EVENTLOGPARAMS><EVENTLOGTYPE>0</EVENTLOGTYPE><EVENTLOGTYPEMAP/></EVENTLOGPARAMS></LOGGER>
    01 2014-12-14 20:03:49 10800 0 8001 10919 7f517cb27700 Initializing Logger, re-opening existing log file "/var/opt/novell/kanaka/engine/log/novell-kanakaengined-20141202-132804.log".
    01 2014-12-14 20:03:49 10800 0 8001 10919 7f517cb27700 This Logger class instance [0xadae90] was initialized at 2014:12:14:20:03:49 in Process ID # 10919.
    01 2014-12-14 20:03:49 10800 0 8001 10919 7f517cb27700 OS Version Info = "Kernel Name: Linux, Architecture: x86_64, Kernel Release: 3.0.76-0.11-default, Kernel Version: #1 SMP Fri Jun 14 08:21:43 UTC 2013 (ccab990), Machine HW Name: x86_64", OS Bits = 64, Application binary file spec = "/opt/novell/kanaka/engine/bin/novell-kanakaengined", Application Bits = 64, Application Version = "".
    01 2014-12-14 20:03:49 10800 0 8001 10919 7f517cb27700 This is the first time that a Logger thread has been started for this class instance.
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Thread has started.
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Configuring the client logging subsystem [Phase I]...
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Completed configuring the client logging subsystem [Phase I], bOK = 1.
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Getting Operational Data [Phase I]...
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Engine's instance name = "".
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Engine is getting configuration path information...
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Engine completed getting configuration path information, Result = 0, bOK = 1, path = "/etc/opt/novell/kanaka/engine/config".
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Engine is getting program path information...
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Engine completed getting program path information, bOK = 1, path = "/opt/novell/kanaka/engine/bin".
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Completed getting Operational Data [Phase I], bOK = 1.
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Initializing the Configuration...
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Setting the reports data path...
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Completed setting the reports data path, sPathSpec = "/var/opt/novell/kanaka/engine/data/reports", bOK = 1.
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Setting the rtconfig reports data path...
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Completed setting the rtconfig reports data path, sPathSpec = "/var/opt/novell/kanaka/engine/data/reports/rtconfig", bOK = 1.
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Setting the client log data path...
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Completed setting the client log data path, sPathSpec = "/var/opt/novell/kanaka/engine/log/client", bOK = 1.
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Validating data path information...
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Completed validating data path information, Data Path = "/var/opt/novell/kanaka/engine/data", bOK = 1.
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Completed initializing the Configuration, bOK = 1.
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Configuring the Logging subsystem [Phase II]...
    82 2014-12-14 20:03:49 10800 0 ff04 10919 7f517cb27700 <CONFIG><LOGPATH>/var/opt/novell/kanaka/engine/log</LOGPATH></CONFIG>
    82 2014-12-14 20:03:49 10800 0 ff05 10919 7f517cb27700 <CONFIG><LOGFILEBASENAME/></CONFIG>
    82 2014-12-14 20:03:49 10800 0 ff05 10919 7f517cb27700 <CONFIG><LOGFILEBASENAME>novell-kanakaengined</LOGFILEBASENAME></CONFIG>
    82 2014-12-14 20:03:49 10800 0 ff08 10919 7f517cb27700 <CONFIG><LEVEL>5</LEVEL><CATEGORY/></CONFIG>
    82 2014-12-14 20:03:49 10800 0 ff07 10919 7f517cb27700 <CONFIG><ROLLOVERTYPE>2</ROLLOVERTYPE><FILESTORETAIN>10</FILESTORETAIN><FILESIZEMAX>10485760</FILESIZEMAX></CONFIG>
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Completed configuring the Logging subsystem [Phase II], bOK = 1.
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Completed configuring the client logging subsystem [Phase II], bOK = 1.
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Getting Operational Data [Phase II]...
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Setting the XML Message Signature object...
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Completed setting the XML Message Signature object, bOK = 1.
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Setting the SSL/TLS certificate file...
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Completed setting the SSL/TLS certificate file, sFileSpec = "/etc/opt/novell/kanaka/engine/config/server.pem", bOK = 1.
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Setting the storage resources file...
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Completed setting the storge resources file, sFileSpec = "/var/opt/novell/kanaka/engine/data/storage-resources.dat", bOK = 1.
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Setting the user index file...
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Completed setting the user index file, sFileSpec = "/var/opt/novell/kanaka/engine/data/userindex.dat", bOK = 1.
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Setting the client list file...
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Completed setting the client list file, sFileSpec = "/var/opt/novell/kanaka/engine/data/clients.dat", bOK = 1.
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Engine is determining its own DNS host name...
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Engine completed determining its own DNS host name, Result = 0, bOK = 1, Name = "kanakasrvkaia".
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Engine completed determining its own DNS host name, Result = 0, bOK = 1, Name = "kanakasrvkaia".
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Engine is getting O.S. version information...
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Engine completed getting O.S. version information, Result = 0, bOK = 1.
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Engine is getting file version information for itself ["/opt/novell/kanaka/engine/bin/novell-kanakaengined"]...
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Engine completed getting file version information for itself ["/opt/novell/kanaka/engine/bin/novell-kanakaengined"], Version = "2.7.1.8", Result = 0, bOK = 1.
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Completed getting Operational Data [Phase II], bOK = 1.
    01 2014-12-14 20:03:49 10800 5 0001 10919 7f517d328700 ML: Getting Operational Data [Phase III]...
    01 2014-12-14 20:03:51 10800 5 0001 10919 7f517d328700 ML: Engine is finished preparing DS Context, eDir Tree Name = "KTREE", Result = 0, bOK = 1.
    01 2014-12-14 20:03:51 10800 5 0001 10919 7f517d328700 ML: Completed getting Operational Data [Phase III], bOK = 1.
    01 2014-12-14 20:03:51 10800 5 0001 10919 7f517d328700 ML: Configuring the Novell XPLAT environment to perform logging...
    01 2014-12-14 20:03:51 10800 5 0001 10919 7f517d328700 ML: Completed configuring the Novell XPLAT environment to perform logging, bOK = 1.
    01 2014-12-14 20:03:51 10800 5 0001 10919 7f517d328700 ML: Initializing the HTTPx Server subsystem...
    01 2014-12-14 20:03:51 10800 5 0001 10919 7f517d328700 ML: Completed initializing the HTTPx Server subsystem, bOK = 1.
    82 2014-12-14 20:03:51 10800 0 ff08 10919 7f517cb27700 <CONFIG><LEVEL>5</LEVEL><CATEGORY/></CONFIG>
    82 2014-12-14 20:03:51 10800 0 ff09 10919 7f517cb27700 <CONFIG><LEVEL>5</LEVEL><CATEGORY/></CONFIG>
    01 2014-12-14 20:03:51 10800 5 0001 10919 7f517d328700 ML: Loading saved state information...
    01 2014-12-14 20:03:51 10800 5 0001 10919 7f517d328700 ML: Loading the Salt state information...
    01 2014-12-14 20:03:51 10800 5 0001 10919 7f517d328700 ML: Loaded the Salt state information, bOK = 1.
    01 2014-12-14 20:03:51 10800 5 0001 10919 7f517d328700 ML: Completed loading state information, bOK = 1.
    01 2014-12-14 20:03:51 10800 5 0001 10919 7f517d328700 ML: Successfully authenticated as the Proxy Account.
    01 2014-12-14 20:03:51 10800 5 0003 10919 7f517d328700 GL: Base schema appears to be properly extended.
    01 2014-12-14 20:03:51 10800 5 0003 10919 7f517d328700 GL: Collaborative Homedirectory attribute ccx-FSFManagedPath is available.
    01 2014-12-14 20:03:51 10800 5 0003 10919 7f517d328700 GL: Kanaka AFP Volume name attribute cccKanakaAFPVolumeName is available.
    01 2014-12-14 20:03:51 10800 5 0001 10919 7f517d328700 ML: Attempted validate accounts, Result = 0.
    01 2014-12-14 20:03:51 10800 5 0001 10919 7f517d328700 ML: Successfully authenticated as the Proxy Account.
    01 2014-12-14 20:03:51 10800 5 0001 10919 7f517d328700 ML: Attempted to Generate new SALT and Proxy Password, Result = 0.
    01 2014-12-14 20:03:51 10800 5 0001 10919 7f517d328700 ML: Called LoadStorageResourcesFromCache(), Result = 0.
    01 2014-12-14 20:03:51 10800 5 0001 10919 7f517d328700 ML: Called LoadClientManager(), Result = 0.
    01 2014-12-14 20:03:51 10800 3 0001 10919 7f517d328700 ML: Called LoadMountPointManager(), Result = 53.
    01 2014-12-14 20:03:51 10800 5 0001 10919 7f517d328700 ML: Called LoadIndexManager(), Result = 0.
    01 2014-12-14 20:03:51 10800 5 0007 10919 7f517d328700 Index Manager: Starting Scheduler Thread...
    01 2014-12-14 20:03:51 10800 5 0001 10919 7f517d328700 ML: Called IndexManager::StartIndexingScheduler(), Result = 0.
    01 2014-12-14 20:03:51 10800 5 0007 10919 7f517991c700 Index Manager [ST]: Next User Index Rebuild will happen in 14169 seconds.
    01 2014-12-14 20:03:51 10800 5 0001 10919 7f517d328700 ML: Called LoadKanakaPolicy(), Result = 0.
    01 2014-12-14 20:03:51 10800 5 0001 10919 7f517d328700 ML: Starting the HTTPx Server subsystem...
    01 2014-12-14 20:03:51 10800 5 0001 10919 7f517d328700 ML: Completed starting the HTTPx Server subsystem, bResult = 1.
    01 2014-12-14 20:03:51 10800 5 0001 10919 7f517d328700 ML: Completed initialization. Engine is now running.
    01 2014-12-14 20:03:51 10800 5 0001 10919 7f517d328700 WD: Engine mainline thread is entering the Watch Dog function...
    01 2014-12-14 20:03:51 10800 5 0001 10919 7f517d328700 WD: Engine is running...
    01 2014-12-14 20:04:50 10800 5 0004 10919 7f5172c9f700 UI: admin.kaia [192.168.1.180] LOGIN SUCCESS

  • 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

  • Stumped by mount volume quirk

    Okay, this works fine:
    set Uname to "<my_username>"
    set Pword to "<my_password>"
    set someVolume to "afp://168.116.236.41/MHCProduction"
    mount volume someVolume as user name Uname with password Pword
    If I run this script, the volume in question mounts immediately. However, when I incorporate the above concept into a slightly more involved script, when it gets to the mount volume command it throws up a dialog asking for the server address. The mount volume command is built identically (in fact I cut and pasted it from one script to the other. The only difference is that in the longer script, the URL string in someVolume is read from an external text file and the username and password are initally entered via a dialog box and thereafter stored in properties of the script. Here's the code from the longer script:
    property Uname : missing value
    property Pword : missing value
    global selectedVolumes
    my checkProps()
    tell application "Finder"
    set thePath to (path to application support folder from user domain as string) & "<path:to:textfile>"
    if (exists file thePath) then
    set selectedVolumes to my readPrefs()
    end if
    end tell
    repeat with someVolume in selectedVolumes
    mount volume someVolume as user name Uname with password Pword
    end repeat
    on checkProps()
    if Uname is missing value then
    set Uname to text returned of (display dialog "Enter your Username:" default answer "")
    end if
    if Pword is missing value then
    set Pword to text returned of (display dialog "Enter your Password:" default answer "")
    end if
    end checkProps
    on readPrefs()
    set prefFile to open for access (((path to application support folder from user domain) as string) & "<path:to:textfile>")
    read prefFile using delimiter return
    end readPrefs
    can anyone tell me why the mount volume command goes off without a hitch in the first instance, but not in the second? I've verified that the URL string is correct in the second script using 'display dialog someVolume' right before the mount volume command, and it shows a properly formatted URL string (afp://yadayada/yada).
    Any input greatly appreciated.
    St!ff
    Dual 2.0 GHz Powermac G5   Mac OS X (10.4.4)  

    I've discovered a much quicker and more relaible means to accomplish this:
    property Uname : missing value
    property Pword : missing value
    global selectedVolumes, theIteration
    my checkProps()
    tell application "Finder"
    set thePath to (path to application support folder from user domain as string) & <path:to:textfile>
    if (exists file thePath) then
    set rawData to my readPrefs(thePath)
    end if
    end tell
    set cleanData to (characters (offset of <ServerIP> in rawData) thru -2 of rawData) as text
    set {oldTIDs, AppleScript's text item delimiters} to {AppleScript's text item delimiters, return}
    set selectedVolumes to text items of cleanData
    set AppleScript's text item delimiters to oldTIDs
    set theIteration to 1
    repeat with someVolume in selectedVolumes
    set theDir to "/Volumes/mntpnt" & theIteration
    set mkdirCmd to "mkdir " & theDir
    set mountCmd to "mount_afp afp://" & Uname & ":" & Pword & "@" & someVolume & " " & theDir
    try
    do shell script mkdirCmd
    do shell script mountCmd
    on error errMsg number errNum
    display dialog "Error! " & errNum & return & errMsg & return & someVolume
    set theCleanupCmd to "rmdir " & theDir
    do shell script theCleanupCmd
    end try
    set theIteration to theIteration + 1
    end repeat
    on checkProps()
    if Uname is missing value then
    set Uname to text returned of (display dialog "Enter your Username:" default answer "")
    end if
    if Pword is missing value then
    set Pword to text returned of (display dialog "Enter your Password:" default answer "")
    end if
    end checkProps
    on readPrefs(somePath)
    set prefFile to open for access somePath
    set theData to read prefFile
    close access prefFile
    return theData
    end readPrefs
    Dual 2.0 GHz Powermac G5   Mac OS X (10.4.4)  

  • Mount Volume

    On a iMac running SL, I want to automount a network volume and place it on the desktop for ANY user to see.  However, I want the student to click on it the mounted volume and enter there own login information.  I can add the network volume to Login Items but I want the student to logon to the volume with there own information.
    For example, take a network volume called OUSER and I add it to the Login Items.  I want Mary (student) to logon to the Mac and I want Mary to see the OUSER (network volume) and I want Mary to enter her username and password. 
    I want the network volume to be on the desktop regardless of which student logon on to the network.  Next, I want the student to click on the network volume and a dialog box appears asking for them to logon.
    Do I make sense? I don't want the teacher to ask every student to perform the GO-Connect to Server- logon- select the network volume.  I want the network volume to appear on every user's desktop and logon to the network volume.

    Go to Safari
    Enter: afp://server
    Drag the URL from the URL field to the desktop.  This will create a Safari shortcut, that will mount the specified AFP file server
    Replace afp with smb if you want to use a CIFS/SMB server.
    You could do something using an Automator Workflow app.  The easiest way that I know of is to use "Run Shell Script" specifying:
    open afp://server
    -OR-
    open smb://server
    There may be fancier ways to do this with Automator.
    There is also Applescript, but I'm weak with Applescript.  But I'm sure a Google search would turn something up.

Maybe you are looking for

  • How do I  set up printer network with my two macs?

    I tried to find an answer to this "newbie" question but didn't seem to find exactly what I am needed to know. We have a desk top Mac G5 (Tiger) that belongs to my partner (lets call that Jim's Computer) which is connected to an HP 6310 printer via US

  • How do I uninstall a program from a macbook pro

    I am trying to install the update for WOW but it won't install,  On my desktop I had to totally uninstall WOW and do a clean install from the MoP DVD's and figured since the same issue with installing it was the same on desktop and macbookpro uninsta

  • Questions/answers from jsp to java bean

    Hi This is what i need to do . I am showing some questions, say 4 of them , and radio buttons(yes/no) as answers in the JSP. Now how do i transfer these questions and their answers from jsp to java bean . I did try hashmap ,but not quite working . an

  • Mobile Me Gallery Login & Password using Aperture

    I recently migrated my entire iPhoto library to Aperture and I have a few questions. 1. How can I tell if an Album in Aperture is a Mobile Me Album? 2. Where can I find the Username and Password info. for each of my already existing Mobile Me Albums?

  • Hello friends while doing file to jdbc senario I am getting error

    Hello All, while doing file to jdbc senario in sap xi getting error in the receiver communication channel..error is 2007-07-17 04:11:00 Error SAPEngine_Application_Thread[impl:3]_35 1184625660906 Attempt to establish database connection failed with S