Mac Thread, Home Directory (redirection) in Technical; Hi there I've had a look round on the mac section and couldn't find much on this so...
We have ...
13th October 2010, 05:26 PM #1
Home Directory (redirection)
Hi there I've had a look round on the mac section and couldn't find much on this so...
We have just installed an xserve 10.6 server and 20 odd imacs running 10.6. OD & AD are working fine - student's & staff can logon and they have their home directory in the dock.
Only problem so far is that when you try to save files from Office 2011 and Adobe CS4 you don't get the option to save to the home directory in the drop down save box the only options are - local directory ( which doesn't redirect & Mac HD )
Has anyone been in a silimar situation? I'm not too sharp on the mac stuff so any help is much appreciaited.
13th October 2010, 05:33 PM #2
There are a few topics below this one that mention this. By default Mac OS X put the link in the dock and does not mount the user folder but mounts the server itself which makes it nearly impossible to browse if there are a fair number of user home folders.
I posted a topic yesterday that has an applescript that can be used as a login script to auto mount the logged in users home folder as a mounted drive. This way you can browse the users actual drive.
13th October 2010, 07:02 PM #3
Ah thanks for that, please excuse my ignorance but how does one create a script - is it just a simple case of using textedit or do I need to save it as a specific file?
13th October 2010, 07:37 PM #4
"AppleScript Editor" is found in the Utilities folder. Copy and paste the script into that then save/export it. From there you will need to look up on how to place it into the startup scripts.
13th October 2010, 07:38 PM #5
Cool thanks, I've just been reading up on that.
Will give it a go now.
13th October 2010, 09:00 PM #6
Ok I've just tried this and it didn't work, heres what im doing:-
Creating an apple script and entering the following, which I saved to the desktop.
Then via terminal
set MyName to do shell script "whoami"
tell application "Finder"
mount volume "smb://SERVER/SHARE/" & MyName & ";" & MyName & ":password"
Please tell me if I'm being a numpty and something is wrong.
sudo defaults write com.apple.loginwindow LoginHook /Desktop/scriptname
13th October 2010, 09:49 PM #7
You're doing better than me, I'm struggling to get AD and OD to behave themselves at the moment! Looks like I'll soon be having this very same problem as we have CS4 as well, so when you do get it to work I'd be interested to know.
14th October 2010, 03:28 PM #8
If I find time later today after work I'll see if I can get this to run with a login of an AD account.
14th October 2010, 05:23 PM #9
- Rep Power
@Edwardjr - On the mac client, in System Prefs > Accounts > Login Options > Network Account Server > Directory Utility > Edit Active Directory > Advanced Options (phew!) - uncheck the "Force local home directory on startup disk" checkbox. This worked for me in my thread, it just points the home directory to the network home folder share as specified in AD. For example, user 'student3' logs on, he will see "student3$" listed next to the house icon (indicating his home folder). "Use UNC path from AD to derive network home location" should also be checked, and make sure you use smb.
As Carter previously noted, this could increase network traffic if your users are working with big chunky movie and photo files, but as far as I can tell it works in exactly the same way as redirecting My Docs to a share.
Might be handy as an aside, again on the Directory Utility under Administrative, check "Allow administration by" and then add in some Windows groups (e.g. Domain Admins) so you don't have to set up an entire OD group just for your admins/techs.
Obviously you can image your client just after this, but before binding to the domain, so you won't have to do this for every client.
Last edited by tomdawson; 14th October 2010 at 05:25 PM.
14th October 2010, 11:06 PM #10
- Rep Power
Don't do it this way if you're using MS Office (or at least if you're running Office 2008). We tried this, only to find our users couldn't work with DOC, XLS or PPT files from any source, local or network (although strangely the newer DOCX, XLSX and PPTX files were fine).
Originally Posted by tomdawson
In the end, I left the "Force local home directory on startup disk" enabled, then ran a login script to delete the documents, pictures, music, videos and downloads folders from the local user profile, replacing them with Symlinks to the mounted network volume. This essentially redirects these folders for the user, so that when they log in, all their applications default to saving in their network My Documents/My Music/My Pictures folders.
15th October 2010, 09:16 AM #11
It seems to work pretty well however there are a few home sync errors that pop up when some students log on.
For example :- "There is a problem syncing the file blabla.pdf" and the user has to click on next on all the files that do not sync. Is there anyway of avoiding this?
15th October 2010, 09:41 AM #12
- Rep Power
Syncing? Very odd - it should literally just point the home directory to the network share in the same way as changing the target of My Docs in XP to a network share. Have you got Mobility features enabled in the machine/user preferences? (or, indeed, is that what you're trying to achieve?)
15th October 2010, 10:45 AM #13
Na this is not what we wanted, other than that since trying this way the mac clients are dropping off the windows domain 15-20 mins from adding it or if a user restarts the mac client.
15th October 2010, 01:02 PM #14
- Rep Power
So disabling the force local home option is causing your clients to drop off the windows domain? That's nuts... Anything in Console?
15th October 2010, 01:12 PM #15
- Rep Power
I have setup our macs the same way (Replace the local home folder with the network home folder) and im having the issue with the mac clients failing to login again with a different user for 15-20 mins or until i restart the mac.
I was looking at putting a LogoffHook script in place to make the mac restart everytime the student logs off, but there was a problem which if you selected shutdown it will still restart.
Dont you just love trying to get a mac to act like a PC
By dsk in forum How do you do....it?
Last Post: 26th November 2009, 10:16 AM
By speckytecky in forum Windows Server 2000/2003
Last Post: 15th September 2009, 12:49 PM
Last Post: 24th March 2009, 05:26 PM
By Chris_Jones in forum Windows
Last Post: 24th November 2008, 05:04 PM
By pooley in forum How do you do....it?
Last Post: 26th April 2007, 01:49 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)