Automounting AFP shares... no seriously

I simply cannot get my head around the file sharing capabilities of Leopard/Snow Leopard. Sure it has NFS support, but from time to time it dies and one have to reboot in order to remount. So I (try to) switch to native AFP. Again I cannot mount manually using mount_afp nor can I mount using auto_master file syntax.
I have checked several tutorials and they do it exactly the same way I do it. I can mount my shares from "Connect to server..." no problemo, but automounting is never working.
I just can't understand why Apple has made it so difficult to get a basic file sharing up and running AND to make it automatic. Why on earth it this so problematic all the time. Ridiculous.
If anyone at all has SL running with automatic AFP shares mounted on boot (not using Login items, I don't want them in my face every time I boot) please tell me your syntax. And Apple, come on... why make it so difficult?

I agree that the lack of documentation and of GUI options to do this is quite puzzling and frustrating.
I guess they want you do it using login items.
I'm not an expert on the issue (I wish somebody who IS one would pop in) but I sort of managed to do it using /etc/fstab as described here
http://blogs.sun.com/lowbit/entry/easyafp_autmount_onos
It works but I'm not sure if did it completely correctly because I have to drill in quite deep before i get to the actual share when I start on "All" in the sidebar. also, the mounted share does not show up on the desktop even when I have the option to do so checked in finder preferences.

Similar Messages

  • Automount afp volume home stipulated in Directory mapping

    Hi I have a strange setup here which I'm puzzling over to get working.
    I have a number of computers configured to search an LDAP server on our network for their user account. Within the mappings of that LDAP in Directory services I have set the users home directory to #/Network/Servers/afpserver/homes/$cn$.
    All network homes are kept on an AFP share which I want each computer to automount at startup *not login*
    I've created and fstab file and inserted the following line
    server:/homes /Network/Servers/afpserver/homes url auto,url==afp://ID:PASS@afpserver/homes 0 0
    I've also altered the auto_master and added the line
    /Network/Servers -fstab
    I sudo automount -vc and it all updates creates the mount point but doesn't mount the server, and I get nothing in the console telling me why.
    I've searched for automount afp tutorials but unless I'm reading them very wrong I'm lost to how to get this share to mount on it's own.
    Any ideas?
    The AFP share is on a PPC tiger server, the clients are all 10.5.8 intel.

    Hi,
    I have encountered some of the same problems and I solved them as follows:
    1. make sure your DNS is working properly (probably is if kerberos is running) as it is a could be a source of long logintimes (I had to make both the internal and external interface resolve to the same hostname)
    2. Reboot the server from CD and repair the permissions and repair volume on the system disk.
    3. Restart the server and repair the permission again.
    4. Verify sharesettings in the WGM

  • Auto_master, mounting afp shares without username/password in plain text?

    Hi,
    i'm trying to mount afp-shares from a Synology Diskststation and an Airport Time Capsule via the automountd.
    I've modified the /etc/auto_master as follows:
    # Automounter master map
    +auto_master            # Use directory service
    /net                    -hosts          -nobrowse,hidefromfinder,nosuid
    /home                   auto_home       -nobrowse,hidefromfinder
    /Network/Servers        -fstab
    /-                      -static
    /Synology               /etc/auto_afp   -nosuid
    I've created the /etc/auto_afp:
    iTunes -fstype=afp afp://"Username":"Password"@DiskStation.local/iTunes
    Data -fstype=afp afp://"Username":"Password"@AirPort.local/Data
    Providing Username and Password works fine, but is there a way to make this work without the Username and Password in plain text?
    Thank you.

    An applescript application set as a user login item should be a better choice.
    I'm just about to work this out for an SMB mount of a users Windows home (augmented AFP homes are breaking preventing the 'Mount UNC path' option in the AD plugin).
    Post back if you still want info.
    D

  • Kernel Panic when Remote users disconnects from AFP share

    System 1 Macbook System 2 Mac Pro both 10.4.8. On my Macbook I mount an AFP share (Not SMB but a public share) on the Mac Pro. After copying files etc if I disconnect the share the Mac Pro will throw a kernel Panic. Found it odd that the Mac Pro dies even though I'm actually on the Macbook mounting and unmounting the shares. I couldn't find anything online about this. Anybody have an idea how to fix? SMB doesn't cause this problem only MAC to MAC.
    Thanks,
    dave.
    Panic Log:
    Sun Feb 11 14:39:28 2007
    panic(cpu 0 caller 0x0035BEAC): mfreemlist: m_nextpkt of m_next != NULL
    Backtrace, Format - Frame : Return Address (4 potential args on stack)
    0x25523768 : 0x128d1f (0x3c9540 0x2552378c 0x131df4 0x0)
    0x255237a8 : 0x35beac (0x3e9cbc 0x1 0x1 0x1)
    0x255237e8 : 0x7164e2 (0x3825d300 0x3825ac00 0x25523848 0xc16324)
    0x25523808 : 0xc13e5b (0x3b7d800 0x3825d300 0x1 0x710876)
    0x25523848 : 0xc16539 (0x3b7d800 0x0 0x3c03d9a0 0x255238f8)
    0x25523918 : 0x71e37e (0x3b7d800 0x38189000 0x0 0x3825b000)
    0x25523948 : 0x71e154 (0x3b7b840 0x3aa2720 0x2552396c 0x19d23a)
    0x25523988 : 0x71e2b9 (0x3b7b840 0xbd1d4 0x3b3b540 0x21aead)
    0x255239b8 : 0x719b77 (0x3b7b840 0x38189000 0x0 0x0)
    0x255239f8 : 0x2025fe (0x41b9404 0x38189000 0x1e 0x25523a68)
    0x25523a58 : 0x2675ff (0x41b9404 0x1e 0x38189000 0x874a504)
    0x25523ab8 : 0x25e21f (0x41b9404 0x41b9404 0x38189000 0x4a1bedc)
    0x25523bc8 : 0x239c12 (0x38189000 0x0 0x4a1bed8 0x0)
    0x25523cd8 : 0x23837a (0x4a1bf48 0x0 0x0 0x3818905a)
    0x25523eb8 : 0x238831 (0x38189000 0x28 0xffffffff 0x80fe)
    0x25523ed8 : 0x25a750 (0x25523f60 0x25523f34 0x10 0x25523f60) Backtrace continues...
    Kernel loadable modules in backtrace (with dependencies):
    com.apple.driver.AppleIntel8254XEthernet(1.1.4a5)@0xc0b000
    dependency: com.apple.iokit.IONetworkingFamily(1.5.1)@0x70f000
    dependency: com.apple.iokit.IOPCIFamily(2.1)@0x664000
    com.apple.iokit.IONetworkingFamily(1.5.1)@0x70f000
    Kernel version:
    Darwin Kernel Version 8.8.1: Mon Sep 25 19:42:00 PDT 2006; root:xnu-792.13.8.obj~1/RELEASE_I386
    Mac Pro Mac OS X (10.4.8)

    DaddyPaycheck
    Thanks for helping. I'm green at this! Getting definite experience as you can see, but can you help me with an actual real live make and model of a graphics card that is known to work on the G5 Xserve?
    I called ATI re: their Radeon 9200, and was told by tech support that they do not support this card on the G5 Xserve. Yet, Scott Maiden, in his post above, referenced an ATI Radeon card.
    What cards are being successfully used? Can I have a list?
    Apple Tech Support will not give any such list. Maybe they know of some problem with all? (When I bought the Xserve in September of 2004, Apple Tech Support recommended the VillageTronic card.) The new, yet un-released Quad-core 64-bit Intel Xeon Xserve has "built-in graphics functionality, with mini-DVI output and support for industry-standard VGA displays," according to Apple's web site. Hopefully this will eliminate this type of problem in future releases of Xserve. But for the nasty here and now...
    All I need is an inexpensive graphics card to administer this Xserve. Currently I am using a 21” SuperMatch SVGA monitor.
    Thank to all who have helped.
    James
    jamescalvin-
    The only cards I have found to work reliably in the
    G5 XServe are the cheap-arse PCI models. I do not use
    my XServe for serious graphics work so I do not know
    how it works with other cards.
    Can you swap in a known compatible PCI card for
    testing purposes?
    Luck-
    -DaddyPaycheck
    DaddyPaycheck
    Xserve   Mac OS X (10.3.9)   Need list of Compatible PCI graphics cards

  • Files copied from AFP share point are unwriteable by client

    This is the same issue as: http://discussions.apple.com/thread.jspa?messageID=8044984
    Has anyone found a fix yet? Basically, when copying files from an AFP server, Leopard is not having the file inherit the permissions of the parent folder. It is inheriting the permissions of the file within /Volumes.
    I am accessing an AFP share point on a server that has files that are 644 (readable by everyone, but only writable by the owner). I am not the owner. When viewing the AFP volume on my client within /Volumes/whatever the permissions appear to be 400 (unwriteable by the owner, no access to anyone else). When I copy the file over to desktop, the permissions remain as 400 when they should obviously be 600.
    What does this mean? Even though I am NOW the owner, and it is on MY desktop, I am unable to write to the file unless I chmod it. Very, very annoying and this behavior is unique to Leopard. Tiger does not mangle the permissions.
    The server is ubuntu-8.10-server running Netatalk.
    The test clients are Leopard 10.5.5 and Tiger 10.4.11
    On the server:
    $ pwd
    /srv/www
    $ ls -l
    -rw-r--r-- 1 www-data www-data 1024 2008-11-23 23:29 test.doc
    On the Leopard client:
    $ pwd
    /Volumes/www
    $ ls -l
    -r-x------@ 1 sauce staff 1024 Nov 23 23:29 test.doc
    $ cp test.doc ~/Desktop
    $ ls -l ~/Desktop/test.doc
    -r-x------@ 1 sauce staff 1024 Dec 7 00:21 /Users/sauce/Desktop/test.doc
    Message was edited by: iSauce

    I don't believe this is a problem of leopard in general. i can not reproduce this behavior with any of my afp shares. no matter how i connect (as an owner or as a guest) after I copy something to the desktop it gets standard 644 (not 600) permissions.

  • Copy from AFP share to AFP share (via VPN-Connection) - stupid?

    Hi there
    We set up an OS X server in a remote facility and are connecting to it over a VPN connection (Netgear Firewall).
    Everything works fine, there's only one annoying issue: if I want to copy a file from a mounted AFP share (share1) to another mounted AFP share (share2) - both of them residing on the same server - it seems to me that the files are being copied first to my local client and then back to the server again - instead of being copied directly from and to the server...
    Is there anything I can do about this issue or am I wrong? Is this a so called "feature" of the Finder itself?
    Thanks for any suggestions and regards
    Roman

    Thanks for your thoughts about higher vs. lower latency networking - I totally agree. It might be a quite uncommon setup; as the server is being "housed" in a datacenter with quite tough restrictions: not only do they charge us for the power consumption, but also for the traffic being generated - which is 250 GB a month. They're providing an uplink with 10mbps (guaranteed), burstable to 100mbits.
    Anyway, we're interested in keeping traffic low - hard to do if we cannot let end users do "common" tasks like moving files from one folder to another (of course, its a sharepoint - but they don't care).
    What I'm looking for? Well, I think it will take hours to find out which part of the setup (AFP implementation of the server, AFP on the local machines, either of them on a particular version, the Finder in general...) actually might be responsible for this behavior. And maybe there's a "solution" (if you agree that this is actually a problem" buried somewhere
    Regards
    Roman

  • User Passwords Rejected on AFP share mounts?

    User Passwords Rejected on AFP share mounts?
    (OK, my last post got buried, and perhaps too long), try again. Very brief
    Issue:
    After so many days, a User's AFP share password is rejected? What gives.
    If you reset it, several days later, same thing, rejected.
    Is Netinfo Database corrupted, what can / should be done?
    - Stand Alone server (with AFP and FTP services running, all other services off, not running.
    Summary Info for user having issue:
    Location: 192.168.0.50/NetInfo/DefualtLocalNode
    Home: No Home Directory
    Primary Group: Users (20)
    Password: Shadow Password
    I have deleted that troublesome user name and created a new name (for that user), just in case, in the re-creation of the same user name (after deletion) some corruption gets inherited.
    thanks,
    macguitarman
    Power Mac G5 Dual 2.0   Mac OS X (10.4.7)  

    Using Tiger Server, I have found that enabling ACLs, or Access Control Lists on the volume, and then specifying users and/or groups into the specific ACLs for the share point has been very helpful. Also note that 10.4.10 server seems to work better than 10.4.11, so if you haven't upgraded, don't go beyond 10.4.10. .11 seems to have some permissions issues and other problems.
    I assume you are connecting to the server via AFS (i.e. Go > Connect to Server > ip address) and not SMB? SMB sometimes is more problematic about ownership. But either way, Mac or PC clients, it seems ACLs are the way to go.
    Crazy as it seems, on my server, even if the owner is, say, admin, and the group with r/w permissions is, say, Prepress, it helps to specifically add the Prepress group to the ACL for that share. Then be sure to propagate the permissions down (unless you don't want to, for some reason). To do this, click the little gear icon and propagate all the permissions -- owner, group, acl, etc. down. This will take a bit of time depending on how much stuff you have. I also find that a server reboot can be helpful.
    [[ All this said, 10.5.1 seems to do some crazy things, and I hope 10.5.2 addresses them. I have one machine (not user ID) that always creates a folder on a share with no permissions for anyone. Only from that Mac; the same login on another works just fine. Go figure]]

  • Finder crashing in AFP share

    Hello,
    We're having some really strange issues at work with an AFP share.
    Setup:
    Mac OS X 10.4.7 clients (including a G5, MacBook Pro, iMac G4)
    Mac OS X Server 10.4.7 sharing files via AFP
    How to replicate:
    User's login to the AFP share, navigate to a certain folder, and then finder "locks" (spinning beachball). All attempts to relaunch finder fail. The only things that fixes finder is restarting the machine. This does not fix getting to the folder.
    Every directory in this part of the AFP share have the same permissions. I have not tried to navigate to the directory on the server because we would have to get everyone to log off and stop working.
    Thanks for help in advance,
    Rob
      Mac OS X (10.4.7)  

    All of the users are connecting via ethernet. We typically have about 10-15 users connected to a Mac OS X server with unlimited clients. Everyone in the office connects to this machine, but this happens even when we do not
    Initially we were having trouble with a folder that had photoshop files (.psd), but now we're having trouble with the folder up from that (which is basically a project folder that then has several folders beneath it).
    I copied the files that one of our employees needed in Windows to another folder (created in Windows) above the directory we are having trouble with. She was able to access the folder and the files. Windows connections are through SMB (and all the windows machines that we have are able to navigate to these folders).
    For the clients, unforunately, force quit doesn't seem to handle finder correctly.
    Mac OS X (10.4.7)
    Mac OS X (10.4.7)

  • Importing from camera with iMovie onto computer with home on AFP share ...

    I am trying to import a movie from a Sony Handycam into iMovie '08. iMovie can see the camera. The problem is that I cannot choose where to save the movie. I am only offered the choice of one of the two disks in my machine but am not given a chance to choose the actual folder location. Furthermore, the only choices are not write accessible to me.
    I am guessing that iMovie doesn't want to import to my home/Movies because it is on an AFP share but why can't I choose the /Users/Shared folder (or any other location)?
    Does the user that imports video into iMovie have to be an admin user?
    The dialog that opens when I choose to import says "Save To:" but is not a proper (usual) file selection dialog. I only get two choices and they are internal disks not folders.
    I know that Apple loves to work from the premise that they know best how I should do what I want to do but in this case I am actually totally prevented from doing what I want to do. I could actually log in as the admin user, import the movie (I'm assuming that would work) and then copy the files to my account. Any other suggestions would be welcome. Is there a way to specify the path for the import dialog?
    (I am sitting on a gigabit ethernet network with a recent XServe and XServe RAID serving my home. I find it hard to believe that this couldn't handle a simple video import. It's not even HD.)

    I am only offered the choice of one of the two disks in my machine but am not given a chance to choose the actual folder location. Furthermore, the only choices are not write accessible to me.
    Other than the start-up drive user's account "Movies" folder, iMovie '08 only allows access to the "root" level of non-start-up drives which are the only areas it scans for "iMovie Events" folders during initialization. In addition, in order to access non-start-up drives, they must be formatted as "Mac Extended OS" drives.
    I am guessing that iMovie doesn't want to import to my home/Movies because it is on an AFP share but why can't I choose the /Users/Shared folder (or any other location)?
    See above.
    Does the user that imports video into iMovie have to be an admin user?
    No.
    The dialog that opens when I choose to import says "Save To:" but is not a proper (usual) file selection dialog. I only get two choices and they are internal disks not folders.
    See first answer.
    I know that Apple loves to work from the premise that they know best how I should do what I want to do but in this case I am actually totally prevented from doing what I want to do. I could actually log in as the admin user, import the movie (I'm assuming that would work) and then copy the files to my account. Any other suggestions would be welcome. Is there a way to specify the path for the import dialog?
    Finder level file operations performed external to iMovie '08 tend to corrupt pointers/reference paths unless they emulate what iMovie itself does in which case the initialization scan may be able to fix some problems.
    I am sitting on a gigabit ethernet network with a recent XServe and XServe RAID serving my home. I find it hard to believe that this couldn't handle a simple video import. It's not even HD.
    Not familiar with such use so I don't know if this would automatically limit your access to root level storage area.

  • What do I need to do to enable Active Directory users to authenticate to AFP shares in 10.8 server?

    We recently upgraded from 10.6 server to 10.8 server and are having trouble with AFP shares and Active Directory.  We have shares on each of our OS X servers that should be mountable by any Active Directory user at the site the server resides.  In 10.6, this worked beautifully.  Simply adding the appropriate AD groups with appropriate permissions to the ACL of the folder(s) being shared worked without a hitch.  In 10.8 server, this is not working.  Permissions are defined correctly (as far as I can tell), the server is bound to AD, but yet no AD user who should have access can mount the share.  When attempting to mount the share on a 10.6 client, the user gets the short and simple "You entered an invalid username or password.  Please try again."  On a 10.7 client, the window shakes. 
    What confuses me even more is that no local users can mount the share as well.  I try as our admin account, I receive the following error message on our 10.6 clients:
    Actually, as I was forumulating this post, logging in as the server administrator account is now working...???!!!
    This was the error message we were receiving on 10.7 clients before it magically started working:
    In any case, authenticating as an AD user is still no go.  Any ideas?

    I had something similar to this. In the name field put in DOMAIN\username rather than just the name.

  • Spotlight/Searching does not work for afp shares in Lion

    Hi
    I cannot search for files in Finder on my afp shares. The server and client are both running Lion 10.7. Anything I am missing? Should this work or not? I'm so used to Spotlight I would really hate it if this isn't supported for afp shares.
    Thanks NEI

    Acrobat catalog, PDX, files only work from local or network drives.
    From Acrobat's Help;
    "Moving collections and their indexes"
    "You can develop and test an indexed document collection on a local hard drive and then move the finished document collection to a network server or disk."

  • OS X 10.6.5 Server AFP share - can't change group from 'staff' ???

    Hi,
    I'm running a new 10.6.5 XServe within a corporate AD environment. Well, when I say 'running' I mean testing - I could never let this odd beast loose on anyone with the awful state it's in.
    Trying to set up the AFP shares, I simply wanted to assign one of our AD groups as the POSIX group for the share, just as I do on our existing Tiger server. 'simply' he says... oh I wish!
    Server Admin 'lets' me change the group, then puts it right back to 'staff' again as soon as I hit Save. Same result when trying to change the Owner too, but I'm not needing to change that.
    From Terminal, the usual permissions commands have no effect either. Try chgrp MyGroupName MyFolderName.
    Tried changing while logged in as either root or admin, no difference.
    So, all I want to do is change the group that's assigned to a share's POSIX permissions. Am I expecting too much from SL? Anyone else had this problem, and know the trick to solving it?
    Can't believe this is happening - something so basic and important. I've wasted countless hours already with numerous other SL issues. Wish I'd never set eyes on the thing but it's been forced down my throat - we needed a new XServe, which turned up with SL installed of course. I'd gladly do a clean install of plain Leopard over the top, but apparently that's asking for (even more) trouble.
    This POSIX nonsense is just the latest obstacle I need to get sorted.
    Thanks for any help,
    Paul.

    Hi,
    I'm running a new 10.6.5 XServe within a corporate AD environment. Well, when I say 'running' I mean testing - I could never let this odd beast loose on anyone with the awful state it's in.
    Trying to set up the AFP shares, I simply wanted to assign one of our AD groups as the POSIX group for the share, just as I do on our existing Tiger server. 'simply' he says... oh I wish!
    Server Admin 'lets' me change the group, then puts it right back to 'staff' again as soon as I hit Save. Same result when trying to change the Owner too, but I'm not needing to change that.
    From Terminal, the usual permissions commands have no effect either. Try chgrp MyGroupName MyFolderName.
    Tried changing while logged in as either root or admin, no difference.
    So, all I want to do is change the group that's assigned to a share's POSIX permissions. Am I expecting too much from SL? Anyone else had this problem, and know the trick to solving it?
    Can't believe this is happening - something so basic and important. I've wasted countless hours already with numerous other SL issues. Wish I'd never set eyes on the thing but it's been forced down my throat - we needed a new XServe, which turned up with SL installed of course. I'd gladly do a clean install of plain Leopard over the top, but apparently that's asking for (even more) trouble.
    This POSIX nonsense is just the latest obstacle I need to get sorted.
    Thanks for any help,
    Paul.

  • Save as dialog not showing files on a AFP share in CS2

    I have a user who is not able to see any files or folders on an AFP share (SFM on Windows 2003) when attempting to Save As. The files are visible in the finder, terminal, it is not a permissions issue, and I have trashed permissions. Any ideas? Are there hidden files on the share that need to be trashed?
    10.4.10, 2.66 Mac Pro, AD user
    Thanks!

    Open the Script Editor in the /Applications/AppleScript/ folder, and use this script to make all files visible.
    (22547)

  • Illustrator/InDesign problems with AFP shares on Xsan

    Hi,
    Has anyone else been having problems with Adobe apps overwriting files on AFP shares that are stored on an Xsan? Errors that come up vary from error -47 to error -5000 and generally mention that the user doesn't have permission.
    They do have permission, and things are fine if they save to their desktop then copy to the server and overwrite the file that way. They're fine saving initially as well. Other applications don't have a problem either.
    Anyone have any ideas?
    Server is 10.4.3, Xsan 1.2.
    Thanks,
    James

    Hi, This have nothing to do with Xsan, because i have the same problems on 3 of my servers, on 10.2.8, 10.3.9 and 10.4.4 with simple afp shares! It seems that Adobe srcrewd up big time!

  • User can't access afp shares

    About once every other day one of my users losses the ability to log onto afp shares on the server.
    In the Server App under Users his "Allow user to log in" tick box has become unticked.  If I tick that and save, everything is fine for a day or so then it becomes unticked on its own again.  As usual with computers in generally becomes unticked at a crucial point when everyone is busy !!
    Any help would be appreciated.  I can see nothing unusual in the logs and I have tried reseting his password.

    I just went from 10.8.5 to 10.9.2 and have this same problem. I first noticed in DNS 127.0.0.1 was removed during install and not put back. From there I got everyhting working except afp.
    Error message is:
    Kerberos fail: gss_acquire_cred major status_value <458752>  minor status_value <0>
           major error <1>:  No credentials were supplied, or the credentials were unavailable or inaccessible.
           minor error <1>: unknown mech-code 0 for mech unknown
    Trying:
    sudo sso_util configure -r REALM_NAME -a diradmin afp
    /Local/Default
    /LDAPv3/127.0.0.1
    Creating the service list
    Creating the service principals
    OSStatus CreateKerberosPrincipals(CFStringRef, CFStringRef, const char *, CFMutableDictionaryRef, Boolean): unable to find admin record: -1
    Creating the keytab file
    Configuring services
    Any solutions out there? This is pretty critical for TM backups around the office.

Maybe you are looking for