Benches macOS

12

Automount AFP Share on Login

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hello,

I am having trouble automounting an AFP share when I login. It seems simple enough to mount the share and remember the user/pass in the keychain then add the mounted folder to the login items in the Account system preference. However it still doesn't moun the voulme at startup, it will simply open a finder window and navigate to the same location on my local harddrive.

Is there something I am doing wrong, as I said it seems simple enough but there must be something I am missing.

Thanks in advance.

B.

12 replies

Sign in or join Beachball Help to reply.

  1. 0

    Antonio Rocco

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi

    If you defined the Share as a Login Item after mounting it via the Sidebar rather than Connect to Server > IP Address of Server that would explain it. AFAIK automounts via the Sidebar/Bonjour don't work immediately. They will eventually if you're prepared to wait up to 10 minutes or more, and you still get prompted for your password regardless how many times you use Keychain Manager to save it.

    The best way to define an automounting share point is to make the initial connection via IP address as already mentioned. Once you get the authentication prompt it's your choice whether you want Keychain Manager to remember the password. Once the share is on the Desktop simply drag it into the Login Items Window in your Account's Preference Pane.

    This is how it works for me personally and at multiple sites I support either P2P or as a Managed Prerference in AD or AD-OD Integrated or purely OD enviroments.

    HTH?

    Tony

  2. 0

    Antonio Rocco

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi

    If there's no error message then actually it does. Perhaps you've not configured the Finder to show Connected Servers/Shares? Finder Preferences > General > Show Connected Servers.

    Tony

  3. 0

    Antonio Rocco

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi

    If you defined the Share as a Login Item after mounting it via the Sidebar rather than Connect to Server > IP Address of Server that would explain it. AFAIK automounts via the Sidebar/Bonjour don't work immediately. They will eventually if you're prepared to wait up to 10 minutes or more, and you still get prompted for your password regardless how many times you use Keychain Manager to save it.

    The best way to define an automounting share point is to make the initial connection via IP address as already mentioned. Once you get the authentication prompt it's your choice whether you want Keychain Manager to remember the password. Once the share is on the Desktop simply drag it into the Login Items Window in your Account's Preference Pane.

    This is how it works for me personally and at multiple sites I support either P2P or as a Managed Prerference in AD or AD-OD Integrated or purely OD enviroments.

    HTH?

    Tony

  4. 0

    WestB

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Good information, however when I use Connect to Server and mount the appropriate folder it doesn't put that mounted folder on the desktop.

    B.

  5. 0

    Antonio Rocco

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi

    If there's no error message then actually it does. Perhaps you've not configured the Finder to show Connected Servers/Shares? Finder Preferences > General > Show Connected Servers.

    Tony

  6. 0

    WestB

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Your right, I didn't have it configured to show on the desktop.

    However I have configured Finder to do so. I dragged the mounted item from the desktop into my login items. I rebooted the computer and by no surprise, it didn't work. It simply opened the same folder on my local machine. I went back into my login items just to check and the item has changed from a mounted volume icon to a local volume. If I could post screenshots I would. It is all rather strange.

    Thanks for your continued assistance Tony,

    Ben.

  7. 0

    Antonio Rocco

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Ben

    Create another admin account login with it and try it with that account. Does it work now?

    Are you absolutely certain you're connecting to a network share? One that exists on another computer (server and/or workstation, mac and/or pc) on the same network? Does this workstation have a fixed IP address?

    Tony

  8. 0

    WestB

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    T,

    I created a new admin account, logged in, connected to the share (chose to remember password in keychain), dragged the mounted folder from the desktop into the login items, logged out and then back in. When I logged back in the finder opened a window to the same folder on my local machine, not the folder from the share.

    +Are you absolutely certain you're connecting to a network share? One that exists on another computer (server and/or workstation, mac and/or pc) on the same network? Does this workstation have a fixed IP address?+

    Yes the share is a network share on the same local network, and the machine has a static IP because it is actually a web server. The machine is a Mac running OS 10.5 (it is not os server unfortunately).

    I did notice something on the machine that I think may be a contributing factor. When I confirm file sharing settings the only folder that is listed in the shared folders list in the share preference is the Public Folder. I am trying to automount the entire volume ("Macintosh HD") as I can mount it manually because I log in as the admin. Maybe this has something to do with it?

    B.

  9. 0

    Antonio Rocco

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi Ben

    If I've understood you correctly are you saying all you've defined as a share point on the remote workstation is the Public Folder? In addition you're not trying to define the Public Folder as an auto-mounting share point but instead the parent container (the drive) which is not being shared?

    If this what you mean I can't see how it will ever work? If you want to mount the parent directory (drive or otherwise) you have to share it.

    Tony

  10. 0

    WestB

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    T,

    After looking at the sharing preferences yes, that seems to be the case. When I saw that it stood out to me as maybe being the problem.

    What I will do is share the drive, and then try again.

    But speaking specifically about theory here, why can I mount the drive manually if it is not shared? Because I can mount it manually despite the settings.

    B.

  11. 0

    WestB

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    So, I added the volume to the list of shared folders. Mounted the volume and dragged it into my login items. Logged out and back in and it works!

  12. 0

    DrKdev

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    @ Antonio :

    We're having a similar problem (but I'm trying to do this with PHD and afp).

    The afp user mount is not automounting on client machines 😟

    Can you help?

    ServerAdmin says /Volumes/researchgroup1/users is an automounted mount point called 'users' (I also have /Volumes/researchgroup1 as a mount point not automounted... *is this nesting a problem??*).

    /Volumes/researchgroup1/users is shared as AFP with guest access.

    The share point URL in WGM is afp://Xserve1.disney.ch/Volumes/researchgroup1/users

    For user 'koppenhoefer' the path to Home Folder is koppenhoefer.

    The full path for this user is: /Volumes/researchgroup1/users/koppenhoefer

    (*Should it be /Network/Servers/Xserve1.disneyland.ch/Volumes/researchgroup1/users/koppenhoefe r ??*).

    OD is not showing anything out of the ordinary,

    but the login panel on the client machine fails,

    and a terminal 'login' succeeds but with no home directory 😟 leaving the following two lines in the system.log file on the client machine:

    +edu.mit.Kerberos.CCacheServer[942]: launchctl start error: No such process+

    +afp home directory mount failed in theEnumerator->Mount in AFP_Mount: status = Unknown error: -5000+

    Do you have any suggestions (or links)

    to getting the /Volumes/researchgroup1/users to automatically mount with the login pane or with a terminal login?

    Thanx for any suggestions.

    Shawn