autofs mac os x afp not loading as correct user?
- by Stephen Furlani
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