+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 25 of 25
Network and Classroom Management Thread, Changing users home directory in CC3 to a SAN on a mac server! in Technical; I'm now about half way through migration of our accounts to our new samba server. I use this vbscript to ...
  1. #16


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    I'm now about half way through migration of our accounts to our new samba server. I use this vbscript to reset the path to the homedirectories.
    you should also check and see what adsiedit says about where the path is.

    Code:
    set objParent = GetObject("LDAP://OU=year group,DC=example,DC=college,DC=internal")
    
    Set shell = CreateObject("WScript.Shell")
    
    
    objparent.Filter = Array("user")
    
    for each objUser in objParent
    
        	objUser.put "homedrive", "H:"
    
       	objuser.HomeDirectory = "\\servername\" & objUser.get("sAMAccountName") 
    
    objuser.Setinfo
    
    
    next
    
    
    
    Wscript.Echo "Done"

  2. #17
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30
    Thanks Cyber nerd BUT..
    I'm guessing that you do not have CC3 on your network!
    I could well use your script in the future but at the moment even if I did run it CC3 would throw a wobbler as it seems to insist that the users home directory is on a CC3 server!

  3. #18


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    no it's not CC3, but we keep getting told by RM fanbois that CC3 is simply an extra layer to assist in management and that you can still use MSwindows as it was intended.
    see what adsiedit says, maybe just change one and see what happens.

  4. #19

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,406
    Thank Post
    640
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    324
    Even though CC3 is an additional layer, that additional layer does more magic behind the scenes that helps things work, as well as making the required changes to the MS side of things.

  5. #20
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30
    Quote Originally Posted by webman View Post
    Even though CC3 is an additional layer, that additional layer does more magic behind the scenes that helps things work, as well as making the required changes to the MS side of things.
    More like Black Magic.

  6. #21
    DaveCoop's Avatar
    Join Date
    Feb 2009
    Posts
    85
    Thank Post
    6
    Thanked 2 Times in 2 Posts
    Rep Power
    12
    Same sort of problem here! got a San! got San drives showing on the CC3 servers does RMMC see the users folders? does it boot, any real ideas guys spoke to RM they just said check permissions.

  7. #22

    Join Date
    Oct 2005
    Location
    East Midlands
    Posts
    738
    Thank Post
    17
    Thanked 105 Times in 65 Posts
    Rep Power
    37
    Hi,

    What you need to do is to backup the drives except the C drive on the server and then attach the san to the CC3 server as as iSCSI and then map a LUN for each drive to the server. Then give the LUN drive a different letter temporarely i.e. X and restore the data from backup to X i.e. if you backed up the D drive restore to X and do for all the other drives except C drive. Then change the drive letter of the X to D and so on and rename the old drivers to other letter than what they are.

    What this will do is make the drive which is a LUN on SAN appear to the CC3 server as a normal drive that is physically installed on the server except it is not but is on the SAN. This way you don't need to do any AD user pforile or drive mapping it is taken care of it as the drive just appears as a local drive to the CC3 server. This is the same way RM converts their customers to SAN and is what we have done 3 years ago here and its been fine.

    Ash.

  8. Thanks to spc-rocket from:

    MrDarcy (29th April 2011)

  9. #23
    Butuz's Avatar
    Join Date
    Feb 2007
    Location
    Wales, UK
    Posts
    1,579
    Thank Post
    211
    Thanked 220 Times in 176 Posts
    Rep Power
    63
    On CC3 you can only store user home directories on the CC3 domain controllers. Basically they have to appear under the H:\ drive on est-sr-001 or the like.

    As Ash says you have to present the SAN storage as actual drive letters on your CC3 domain controllers (rather than just editing the active directory home directory path to point to your SAN). So the home directory should always be \\est-sr-001 rather than \\san-name.

    I don't know if your apple server actually supports this method so can't really help there.

    Butuz

  10. #24

    Join Date
    Dec 2008
    Location
    Medway Towns
    Posts
    156
    Thank Post
    30
    Thanked 20 Times in 19 Posts
    Rep Power
    15
    We've had a similar experience but with more success, we've had users created in our domain and pointed their home folders in AD to another server on another domain on another site with complete success ... I suspect the difference may be down to permissions, I had rights as an admin on both domains and it asked about granting permissions to our domain to the location on the other but once that was done it has worked perfectly well.
    Last edited by CyberDrac; 17th August 2010 at 03:55 PM.

  11. #25

    Theblacksheep's Avatar
    Join Date
    Feb 2008
    Location
    In a house.
    Posts
    1,935
    Thank Post
    138
    Thanked 290 Times in 210 Posts
    Rep Power
    193
    Quote Originally Posted by Diello View Post
    Seem to think CC3 must have it's home directories on a CC3 server... could be wrong, just seem to remember reading it somewhere!
    Not from a technical point of view. We moved our CC3 user directories (not profiles) to virtual servers last year. Worked ok, helped us move to vanilla.

    You do lose things in the MCC and some manual fiddling is required but it worked.

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Prevent users changing wallpaper ?
    By pinemarten in forum How do you do....it?
    Replies: 14
    Last Post: 14th January 2010, 04:15 PM
  2. Replies: 5
    Last Post: 26th February 2008, 09:02 AM
  3. Security for directory not changing
    By Jackd in forum *nix
    Replies: 3
    Last Post: 11th January 2008, 03:36 PM
  4. Changing a users password without remembering it!
    By acrobson in forum How do you do....it?
    Replies: 10
    Last Post: 23rd November 2007, 09:15 AM
  5. Replies: 3
    Last Post: 27th April 2007, 08:32 AM

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
  •