Solved

Network Home Folder Incorrect

Posted on 2010-11-23
2
1,554 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 500 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Smartwatches: just a fashion accessory or a useful device for all? The Apple Watch (http://www.apple.com/watch/) was launched in April of 2015 and has become a new way for iPhone users to stay connected. Ranging from $349 to $17,000, the Apple Watch…
In this article we have discussed about the OS X EI Capitan and how to fix Wi-Fi issue in OS X El Capitan. We have explained how to delete system level preferences and create a new Wi-Fi location to resolve Wi-Fi issue.
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 …
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

707 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