+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 20
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 ...
  1. #1
    Edwardjr's Avatar
    Join Date
    Nov 2008
    Location
    London
    Posts
    58
    Thank Post
    13
    Thanked 1 Time in 1 Post
    Rep Power
    0

    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.

    Edward

  2. #2
    Carter's Avatar
    Join Date
    Sep 2010
    Location
    Canada
    Posts
    269
    Thank Post
    10
    Thanked 66 Times in 41 Posts
    Rep Power
    19
    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.


  3. #3
    Edwardjr's Avatar
    Join Date
    Nov 2008
    Location
    London
    Posts
    58
    Thank Post
    13
    Thanked 1 Time in 1 Post
    Rep Power
    0
    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?

  4. #4
    Carter's Avatar
    Join Date
    Sep 2010
    Location
    Canada
    Posts
    269
    Thank Post
    10
    Thanked 66 Times in 41 Posts
    Rep Power
    19
    "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.


  5. #5
    Edwardjr's Avatar
    Join Date
    Nov 2008
    Location
    London
    Posts
    58
    Thank Post
    13
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Cool thanks, I've just been reading up on that.

    Will give it a go now.

  6. #6
    Edwardjr's Avatar
    Join Date
    Nov 2008
    Location
    London
    Posts
    58
    Thank Post
    13
    Thanked 1 Time in 1 Post
    Rep Power
    0
    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.

    Code:
    set MyName to do shell script "whoami"
    tell application "Finder"
    	mount volume "smb://SERVER/SHARE/" & MyName & ";" & MyName & ":password"
    end tell
    Then via terminal

    Code:
    sudo defaults write com.apple.loginwindow LoginHook /Desktop/scriptname
    Please tell me if I'm being a numpty and something is wrong.

  7. #7

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,051
    Thank Post
    209
    Thanked 427 Times in 307 Posts
    Rep Power
    144
    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.

  8. #8
    Carter's Avatar
    Join Date
    Sep 2010
    Location
    Canada
    Posts
    269
    Thank Post
    10
    Thanked 66 Times in 41 Posts
    Rep Power
    19
    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.


  9. #9

    Join Date
    Jan 2008
    Location
    UK
    Posts
    78
    Thank Post
    5
    Thanked 6 Times in 6 Posts
    Rep Power
    15
    @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.

    HTH!
    Last edited by tomdawson; 14th October 2010 at 04:25 PM.

  10. #10

    Join Date
    Jan 2006
    Posts
    22
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by tomdawson View Post
    @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.
    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).

    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.

  11. #11
    Edwardjr's Avatar
    Join Date
    Nov 2008
    Location
    London
    Posts
    58
    Thank Post
    13
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Thanks tomdawson,

    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?


    Many thanks

  12. #12

    Join Date
    Jan 2008
    Location
    UK
    Posts
    78
    Thank Post
    5
    Thanked 6 Times in 6 Posts
    Rep Power
    15
    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?)

  13. #13
    Edwardjr's Avatar
    Join Date
    Nov 2008
    Location
    London
    Posts
    58
    Thank Post
    13
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Hi tomdawson,

    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.

    Any ideas?

  14. #14

    Join Date
    Jan 2008
    Location
    UK
    Posts
    78
    Thank Post
    5
    Thanked 6 Times in 6 Posts
    Rep Power
    15
    So disabling the force local home option is causing your clients to drop off the windows domain? That's nuts... Anything in Console?

  15. #15

    Join Date
    Apr 2010
    Location
    Sittingbourne
    Posts
    12
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    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

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Laptops at school and home (GPO folder redirection)
    By dsk in forum How do you do....it?
    Replies: 8
    Last Post: 26th November 2009, 09:16 AM
  2. Active Directory / Folder Redirection problem
    By speckytecky in forum Windows Server 2000/2003
    Replies: 12
    Last Post: 15th September 2009, 11:49 AM
  3. Adobe CS3 - Home Folder Redirection
    By Gatt in forum Windows
    Replies: 5
    Last Post: 24th March 2009, 04:26 PM
  4. Mandatory Profiles Home folder redirection
    By Chris_Jones in forum Windows
    Replies: 10
    Last Post: 24th November 2008, 04:04 PM
  5. Home Directory Creation - how ??
    By pooley in forum How do you do....it?
    Replies: 4
    Last Post: 26th April 2007, 12:49 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •