[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Network Home Folder Incorrect

Posted on 2010-11-23
2
Medium Priority
?
1,568 Views
Last Modified: 2013-12-21
Recently our department inherited the duties to manage a mac network with mac servers that are at Mac Server 10.41. One of the servers was elevated as Directory master to oversee student/faculty accounts a couple of years ago.

These accounts have a network home folder. That folder used to be on a large network drive but recently the home folder was changed to the default location on the server and the home folder option in workgroup manager has this new point as the only home folder entry.

The older/correct folder was contained in a sharepoint that now is appended with a "1".

I'm not sure why the network home folder was changed, since it is the default I assume the network drive became unmounted and someone logged in to the network and the system created the new path/folder.

Now the question... What would be the easiest and/or safest way to reestablish the old network folder as the only home folder for the users and combine/sync both the old and new folders?

I have tried some things and this is what I observed:
Diradmin did not have edit permissions to the home folder option in workgroup manager. So I couldn't point the home folder to the older/correct folder.
I renamed the sharepoints to match the original setup that had the old drive but no one could login to the network.
I managed to create a new home folder entry in worgroup manager for a user that pointed to the old drive. No one could login to the network.
When using root in workgroup manager I was able to edit the home folder option but it add this as another entry(so they had two homefolders listed) in workgroup manager for all users and no one could login to the network.

So basically we just need to have all users connect to the old home folder and move over new work they may have in the newly create home folder.

Thanks in advance for any input.
0
Comment
Question by:IT_Guys
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 30

Accepted Solution

by:
Britt Thompson earned 2000 total points
ID: 34223297
What a mess...actually, there's only 1 home folder that's active at any time even though there's 2 in the list one is just an old listing that is no longer used. Typically, you would just be able to select the folder that you intend to use in the list with diradmin, hit save, then you're good to go. But, it's a much bigger problem if your diradmin user doesn't have the permissions to do it.

Are you sure you're logged in / authenticated to Open Directory when trying to make changes? Near the top of the Server admin it should say "Authenticated to LDAPv3/127.0.0.1." If it doesn't say something along those lines then you're not authenticated...if you are then I'd try getting in with root and see if you can make the necessary changes that way.

As far as syncing goes you can always use RSYNC... rsync -avu /source /destination  in order to update the files from the new user folder to the older one.

You need to make sure the sharepoint shows up as exactly the same name without a 1 appended to it...if there's a 1 appended to it it means there's another share mounted in the /volumes folder with the same name. So, you need to rename the offending share to allow the needed share to obtain the correct sharename. You may need to unshare and reshare the users share for it to use the correct name.
0
 

Author Comment

by:IT_Guys
ID: 34304016
Thank you for your response. it turned out to be a simple fix but doesn't it always after days of research and trial and error.

I unmounted the older drive leaving only the offending folder. I renamed it (offending folder)and mounted the older drive and that fixed the mounting mix up.
I logged into workgroup manager using DirAdmin and unshared/shared the sharepoints I needed to.
Then I went into an account and selected none as the home folder and hit the refresh arrow and then selected the proper sharepoint for the home folder and that was it for that part of it.

I used your Rsync commands to sync the folders and it worked like a charm.

Thank you so much for your help.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question