autofs mac os x afp not loading as correct user?
Posted
by Stephen Furlani
on Server Fault
See other posts from Server Fault
or by Stephen Furlani
Published on 2010-05-10T15:57:38Z
Indexed on
2010/05/10
16:04 UTC
Read the original article
Hit count: 418
Hello,
I am way out of my depth, and I am trying to get all of my nodes on a cluster to mount a drive on my head node.
I've got /etc/auto_master
and /etc/auto_afp
configured according to Apple's "Autofs: Automatically Mounting Network File Shares in Mac OS X" White Paper:
/etc/auto_master
+auto_master # Use directory service
/net -hosts -nobrowse,hidefromfinder,nosuid
/home auto_home -nobrowse,hidefromfinder
/Network/Servers -fstab
/- -static
/- auto_afp
/etc/auto_afp
/Volumes/userA -fstype=afp afp://userA:[email protected]:/
/Volumes/userB -fstype=afp afp://userB:[email protected]:/
I am logged into a compute-node as userA. automount appears to mount both /Volumes/userA
and /Volumes/userB
to head-node.local:/Users/userA/Documents/
even though I have usernames, passwords, and user-directory specified in the afp url. If I go and login with Finder - it mounts userB appropriately.
File sharing and cd/dvd sharing is enabled on all computers involved.
Am I doing the right thing, and if so, what did I do wrong?
-Stephen
© Server Fault or respective owner