AFP548

AD plugin – Local Home, Documents mapped to nework home

I am currently investigating the possibility of using the adplugin in 10.4.2 to create the home folder for the network user locally. Therefore using the User Template thats exists on the system to create the users home folder - ie give the user a default profile. A built in function of the ad plugin is to mount the users network home folder on the desktop and also place a shortcut to the users home folder in the dock. The folder mounted on the desktop is the root shared folder for home folders - ie /Staff2/u/username is the location of the home folder, but Staff2 is the mounted volume.

I need to find a way to "hide" the Staff2 sharepoint on the desktop ( I have tried to simply rename the sharepoint in the /Volumes folder, putting a full stop (.) (or period) before the name but this does not hide the volume on the desktop.

In order to map the documents folder to the network home documents fodler, I need to get the network home folder path variable from somewhere. As far as I can see, the active directory plugin creates a custom com.apple.dock.plist, loginwindow.plist and some other plist files in the /Library/Managed Preferences/$USER folder. Looking at the com.apple.dock.plist file has the shortcut for the users home folder that appears in the dock, but only gives me the root share point - ie _CFURLString = afp://fileserver/Staff2 and not the full path to the users network home folder.

Anyone got any ideas on how I can get the full network home folder path so I can redirect the users documents folder and not display the home folder share point on the desktop??

Thanks
Exit mobile version