Home directories not fully created - AD with OSX server

Hope this makes sense.
I'm setting up a network in a school. We've an Xserve running Mac OS X Server 10.6.4. So that students can move seamlessly between our windows network and this, we've extended the AD schema and have the Server bound to AD. Clients are running 10.6.4, bound in a triangle with the Mac Open Directory and AD. So far, so good, all works fine.
I've been able to set preferences and network home paths with no major issues and scripted to get around problems with using iMovie. However as we've been awaiting some replacement hard drives to set up a new RAID, the home paths have been set to the share automatically created for Users - so afp://SERVER/Users
Now our new hard drives have turned up. The RAID is setup and working. I've created a new folder to store home paths - just to test with one user initially. I shared this path 'StaffData', enabled it for automount via afp, in protocol I've enabled guest access for afp. I copied the permissions set for the original /Users directory we were using. In WGM I've changed the home path for this user to afp://SERVER/StaffData, saved, then rebooted the client.
When I then login with this user it created the top level home directory - afp://SERVER/StaffData/USERNAME - and then a subfolder for /Library and /Desktop. No other folders are created (Music, Movies, Photos, Documents are all missing). I'm able to get it to generate Music when I load iTunes, but the same doesn't happen for iMovie or iPhoto.
I'm guessing its a permissions issue? When I switch the home folder back to the server's /User directory it creates all the home folders without any issues. Can anyone point me in the direction of a solution to this?

Yep, I always get an error "The home directory could not be created because an error occurred". Always had that, even on the original /Users share that worked.
Kind of found a way around, have written a script to run at login that checks to see if Pictures, Movies, etc folders are present, and if it doesn't it just makes a new directory with that name. It's a bit of a bodge, but seems to still work. Would still love to have another proper fix eventually, but for the time being it's solved the immediate problem I had!
Thanks for your advice.

Similar Messages

  • Home directories not being created

    Hi,
    I am having trouble creating home directories for users on my OSX Server Tiger 10.4.4 running on a mac mini.
    Home directoried do not seem to be created for users on my Open Directory.
    I have configured my server to be an Open Directory master. I have no other Open Directory replicas/Servers running.
    I have set up and configured DNS. It appearts to be working correctly and can resolve my server name to the local IP (10.1.1.X) and give me a fully qualified domain name.
    When accessing users on my OpenDirectory via the work group manager the directory name comease up as "LDAPv3/127.0.0.1" (local host possibly the problem).
    When I click on the "Create Home Now" button and hit save, the home dirs are not created.
    I have checked to make sure that the home directory is shared (owner root) and it seems okay.
    I have read some other threads on topics similar to this, but have had no luck. I would appreciate any help in trying to fix this problem.
    Please let me know if any further information s required.
    Cheers

    I had the same issues you've described in this thread. It turned out that I had named my server "morris", and when the client machines went to mount a user's home folder, they attempted to mount /Network/Servers/morris/Users/whoever. When I went to the Finder, I clicked on the Network icon, then the Servers icon, and listed under there was "morris.domain.com" (where domain.com is your own local domain), but not "morris". So it appeared that there was a name mismatch.
    The fix was easy. I started up Server Admin, clicked the machine I wanted to fix, clicked the Settings tab in the right pane, the Network tab up top, and changed the "Computer Name:" field from "morris" to "morris.domain.com". From that point on, my login problems went away.
    It seems that the Server Admin-set "Computer Name" has to match the machine's FQDN in DNS.

  • User Home Directory not being created when "Create Home Now" button hit...

    This is a cross post, since I was not sure where this should end up since it touches two pieces- Open Directory and User Management. Any help would be appreciated!
    I am running OS X Server 10.5. All of my user accounts have been migrated over along with their home directories. Problem is that when creating new users and then assiging a home directory the system does not actually create the directory.
    Currently all users are setup to have their home directory setup here:
    afp://172.16.110.100/Users/'username'. The Users folder has been setup to automount, and all users that have folders can be accessed without issue.
    The problem is when I create a new user, select the aft://172.16.110.100/Users option and then select "Create Home Now" button and save as it requests... it does not create the directories.
    I have even tried to change the Home patch to make it local to see if it was an network issue, and used the /Users choice and it will not create the directory in that way either- both location go to the same place.
    The system was obviously able to create the local admin account and directory admin account home folders without issue when the system was installed.
    The permissions for the "Users" folder are as follow:
    directory admin = Read and Write
    local admin= Read and Write
    system user (root)= Read and Write
    admin group= Read Only
    everyone group= Read Only
    The system is in production, so any kind of server resets need to be done after 5pm, so I have not been able to reset AFP service.
    Currently the only services running are AFP, SMB and Open Directory.
    All users have their entire home directories located on the server, and login over Directory Access on their clients, so all user accounts are stored on the server. No one is having issues accessing their files or logging in.
    I just can not create new home directories when I create new accounts.

    You do not have to be logged on as the root user to do this. Launch the terminal and type-
    sudo createhomedir -a
    I run an XServe with Tiger server ( 10.4.11) and this has been the workaround I have been using.
    Good luck.

  • Help needed with OSX Server 10.5.8

    We're running a headless Xserve (RackMac3,1) with OSX Server 10.5.8 that did its job flawlessly.
    Now we want to update the Perl software from 5.8.6 to 5.20.0 or newer. After downloading the suitable version from CPAN we tried to install, but get the following msg:
    Uh-oh, the C compiler 'cc' doesn't seem to be working.
    You need to find a working C compiler.
    Either (purchase and) install the C compiler supplied by your OS vendor,
    or for a free C compiler try http://gcc.gnu.org/
    I cannot continue any further, aborting.
    Is there a way to install the missing tools remotely via the command line (SSH)? A step-by-step recipe would be most welcome.
    - Harald -

    RackMac3,1 is PPC/G5 processor so you are not going to have an easy time with this. Perl 5.2.20 is bleeding edge (OS X 10.10.3 comes with v5.16.3).
    I would leave Apple's installation of Perl, etc. on the server strictly alone and install MacPorts:
         The MacPorts Project -- Home
    and work from there. You aren't likely to get a step-by-step recipe because its not an exercise a rational person would chose to spend time on.
    Have you considered rewriting whatever features in your code require Perl 5.2.20 than to upgrade your server? Or buy a new server, you could probably pick up a Mini for about $200.
    C.

  • Pop/Imap retrieving and redistribute in LAN with OsX Server

    It's possible to download mail accounts hosted in my isp and redistribut'em in my lan with OsX Server with it's own mail server?
    The scope is not to have a local server mail because we have ADSL and sometimes the line broke up...
    We prefere have mail hosted more securely in our external isp.
    But an internal mail server is a commodity very useful...
    Sorry if the questions is answered before...
    Thanks in advance.

    Maybe not easy but should work:
    http://www.macosxhints.com/article.php?story=2002052509542613
    man fetchmail

  • The sent mailbox could not be created on the mail server.

    Complete message says:
    The sent mailbox could not be created on the mail server.  The local "Sent Messages (mail)" mailbox was created instead.  Mail has changed your account's Mailbox Behaviors preferences to use the local "Sent Messages (mail)" mailbox.
    I am using a gmail account with my own domain.  Any ideas how to fix it?

    Menu: Mailbox -> User This Mailbox For
    First, select folders of your IMAP account, and map them to different common folders.

  • Mac Mini with OSX server still OK?

    HI All,
    I was going to purchase the mac mini that was geared up to work best with OSX server however that option is now no longer available and the mac mini's have downgraded slightly in terms of quadcore processors and 2tb harddrives.
    We run a small design studio, file sharing is becoming a large hinderance on workflow and I thought OSX server sounded like a good solution for someone with little knowledge of the area. We have four imacs, and three macbooks. Our team is growing fairly quick and that number should double next year.
    Any ideas would be much appreciated.
    Thanks,

    Just get the latest mac mini, add some external storage with a Thunderbolt 2 connection and that setup will work great for filesharing.
    You will get gigabit network speeds and since it's Thunderbolt 2 the mac mini will have no problem to serve those files across the network.
    Make sure you get external storage with a decent RAID setup like a Promise Pegasus for instance, and invest in a good back-up solution.
    Then clone your mac mini OSX Server setup daily towards the RAID and you're good to go!
    Get a Mac Mini with an SSD or Fusion Drive and 16GB of RAM. That'll keep you going for the next couple of years easy!
    Goodluck!
    Jeffrey

  • HT201269 When I try to setup my new iPad air, I go through all the steps for the iCloud sign-in and choosing security questions and what not. But after I hit the agree to the terms and conditions... It says Apple ID could not be created because of a serve

    When I try to setup my new iPad air, I go through all the steps for the iCloud sign-in and choosing security questions and what not. But after I hit the agree to the terms and conditions... It says Apple ID could not be created because of a server error. Have no clue what to do... I've restarted the iPad and get the same message. But my internet works just fine.

    1. Turn router off for 30 seconds and on again
    2. Settings>General>Reset>Reset Network Settings

  • Not able to connect with Sql Server Database

    Hi,
    I'm not able to connect with Sql Server database.during making connection I'm getting the following error:
    "Status : Failure -I/O Error: SSO Failed: Native SSPI library not loaded. Check the java.library.path system property."
    Please help
    Regards,
    Neeraj Goel

    Hi,
    I'm using Sql Server 2000.
    I downloaded the driver from the given site and still having the same problem. Do I need to copy the driver file in some specific folder.
    Regards,
    Neeraj Goel

  • Apple Id could not be created because of a server error?

    I just upgraded to ios6 and it asks me to login to my apple account but I keep getting the "apple id could not be created because of a server error." message.  Did my upgrade go badly or am I not alone?

    1. Turn router off for 30 seconds and on again
    2. Settings>General>Reset>Reset Network Settings

  • My iphone can not get in touch with the server. What can I do?

    My Iphone can not get in touch with the server, when I am trying to accept terms and conditions. What can I do?

    Possible causes:
    1. Your antivirus is blocking access to gs.apple.com.
    2. Your phone is jailbroken.
    3. Your computer has been used at some time in the past to jaibreak some iOS device (not necessarily the phone with the problem), and its network database was corrupted by the hacking software that was used.
    4. Apple's activation servers are down (very rare, and never for more than an hour or so).
    For 1. try disabling your antivirus.
    For 2. & 3. you need to go somewhere other than an apple forum for help. Although you can try deleting lines containing gs.apple.com from your "hosts" file on your computer.

  • Home Directories not mounting

    I'm setting up an OS X network for the first time.
    I've got Open Directory based network logins working, but I can't get the home directories to mount over the network. When logging in, a dialog box says that an error occurred and that the home direcotry is mounted via SMB or AFP.
    So I log in as a local user on the client machine to poke around. I don't see the server listed in /Network/Servers, but I can manually do a Connect To Server and put in afp://server.dom.ain/Users/usename and it's fine. This afp:// URL is the same as is specified as the user's home directory.
    I have verified that /Users is exported on the server.
    Do I need to go in to every client and create an automount map for this or is there something else I've forgotten?
    Thanks...
    various   Mac OS X (10.4.9)   10.4.9 server and clients

    The first thing to do when you're having any kind of login problem is to ssh in to the client machine and tail -f /var/log/system.log, then log in to the client machine and watch for clues.
    Step by step:
    1. make sure Remote Login is enabled in the Sharing preferences on the client machine (you can turn it off when you're done if you're paranoid)
    2. on any other mac (or ssh equipped PC) run Terminal (in /Applications/Utilities) and type "ssh username@IP-of-client-machine" obviously replacing "username" and "IP-of-client" with your values, and no quotes of course. Note that "username" needs to be an administrative user. If you haven't logged in with Terminal before, keep in mind that it does not echo back characters when you type in the password. Just type it and press enter. You may have to type "yes" after that to set up the initial trust relationship between the two computers.
    3. Once you're logged in to the client machine, type "tail -f /var/log/system.log" (again, no quotes) and leave it like that. You now have one computer watching another computer's logs in "real time" -- VERY handy when you're troubleshooting a reproducible error.
    4. Go back to the client computer and log in with the problematic account. The other computer will show you everything being logged in system.log. Watch for clues that something is wrong. (something couldn't be found, access denied, anything that doesn't sound too friendly)
    5. Figure out what they mean or copy/paste 'em here! The part that counts is anything that came up on the watching computer's screen from the moment you clicked "Log In" on the client computer to the moment you are at your regular (deficient) desktop, confident it's not gonna do anything else.

  • NFS Home Directories not acquiring permissions

    Hi there. We have recently upgraded our labs to 10.5.4 from 10.4.11. We mount user home directories via NFS and have for some time without an issue. Now, though, I can create the mount using either fstab or Directory Services and it works, however when a new user logs in who does not have a home directory, the profile gets copied to the NFS server but does not acquire the correct permissions. THe home directory is owned by root and not the logged in user. Have any of you seen this? Are there any solutions or something that I might have done wrong? Any help would be appreciated and if this is the wrong section, point me to where I can post and I'll repost there.
    Thanks
    Jason

    The NFS mounts are being shared off of a NetApp. We didn't have any issues with this in the past, only with Leopard.

  • Wiki directories not being created for groups

    I am trying to get the wiki service working for a few groups on my 10.5 server and not having much luck with it. I've enabled the wiki and blog services in Workgroup Manager for three of the groups on my server, but only one of them seems to have the corresponding directory tree created in /Library/Collaboration/Groups/
    All three groups show up on the website. One works completely, but if I click either of the other two I just get a "404: No group with that name (groupname) hosted on this server" error page.
    I tried faking it out by copying the directory structure from the one working group into a directory for one of the other groups, but that didn't seem to trick the server into working. I've tried restarting the Web server with no apparent effect.
    What triggers the creation of the directories inside /Library/Collaboration/Groups/ and why is it not happening sometimes?

    I have been having the same set of problems. After playing around for a couple of hours here is what I did to solve most of these:
    1. Make sure that you have the full Domain Name (www.example.com) for your website in the web/general section of server admin. I just had example.com at first which caused some of my problems. Also, when accessing the site make sure you enter the full domain name (www.exmaple.com) into your browser. Omitting the www caused me to also get a 404 message when trying to access my groups.
    2. Make sure that you have your server setup as an Open Directory Master.
    3. Make sure that your users and groups are not created in a local directory but instead are done in the LDAP. I had my users and groups created in the local directory which caused them not to properly work when I was trying to select users/groups in the Web Services section for my sites.
    P.S.
    Maybe I am just a little ******** but I think Apple could have made all this a little easier or at least documented it a bit better!

  • Home Folders Not being Created Correctly

    I'm having some sort of major issue with my directory and/or afp setup.
    I'm trying to create new users and the home folder won't be created at all. If I change the permissions (give write access to the user's group) on the root of the share that hosts the home folders it will create one but it is mangled. The home folder only conatins a Library and Desktop Folder. Documents, Movies, Music, Pictures, Public, and Sites are missing. Also the permissions on this newly created home are mangled being 700 instead of 755.
    All Existing Users are functioning okay but creating new home folders is broken. It has been a while since I've needed to create new users. I'm worried it may be hard to isolate the cause and effect. I have done software updates 10.4.6 and now 10.4.7. Also I changed this machine to handle local DNS.
    Any Ideas?
    XServe G4 1.0 Single 500GB Mirrored RAID on Internal Drives 10.4.7 Server    

    We also have this problem, and before I go and re-edit the home folder entries for each of our 600-odd users, I'd appreciate if you could confirm that this solution is going to work for me...
    Troubleshooting another problem, we applied the x.4.6 update about the same time as the Network Mounts were turned off then a restart and turned back on again. A bad combination.
    Faced with a Monday morning "None of the students can log in" crisis ("you are unable to log in to the user account "username" at this time..."), and thinking that the problem had been caused by my turning the network mounts off, I discovered that student mount points now show (in WM's Home tab) as "afp://10.224.96.2/Students" where they used to be "afp://mainserver.westlandhigh.school.nz/Students".
    The easy fix to the problem (not knowing about artnum 303697 at that point) was to reassign the home folders to the 10.224.96.2 home. (when you don't know what to do, you do what you know how to do). This got the users happily working again, although there were all sorts of strange problems relating to disk quotas that some users had to work through.
    a few days later the log entries about DNS were noted, artnum 303697 applied, and changeip fixed those things. hostname responds correctly as mainserver.westlandhigh.school.nz. Everything ran reasonably well for the next couple of months, although the AFP/CPU hogging problem mysteriously appeared...
    x.4.7 seems to have solved the AFP/CPU hogging, but now we've discovered a problem creating home folders for new users.
    Tim's fix on 3rd August shed some light... An interesting quirk of using Presets is that we still have a Student preset that puts the FQDN name in the home folders list. So we can leave the FQDN home folder selected, click Create Home Now, and on Save, the folder is created. But the student can't login: "you are unable to log in to..."
    Change the mount point to the IP number, Save, and it almost works - the system tells the user they are already logged in to another computer... Selecting Allow simultaneous login from Advanced solves this problem, but leaves the system open for the student to attempt to log in twice, with the potential for havoc there. It's also not a wonderful work around as the other staff who sometimes enter new users are likely to miss one or more of the extra steps...
    I guess that I'm going to have to turn Network Mounts off in Sharing, and then turn them on again to get the right set of mount points showing in Accounts/Home, and then work my way back through all the students and point them back to the FQDN mountpoint again?
    Is it likely to be worth the pain? Will it cause some other problem to arise? Is there an easier way?
    G4 DP 1.25   Mac OS X (10.4.7)  
    G4 DP 1.25    

Maybe you are looking for

  • Error 0x8007F0F4 when trying to install update KB2686509

    Hello: I have tried several times to install the recent security update KB2686509. Each time it fails with error 0x8007F0F4. Fixes that other people have reported online have not worked for me. For example, there is no file on my system called "fault

  • Looking for a compatible wireless router

    I have a Macbook and id like to hook it up to a secure wireless router. Anyone have any advise on what to get, anything but Linksys please. I was looking at the Netgear Rangemax 240 11G 240mps 2.4ghz Router Wep/WPA2 4port 10/100 switch. Seem like a d

  • Why won't my iTunes window open

    I am running iTunes with Windows 8.1. It seemed to be running perfectly fine a day ago, but now for some strange reason, when I try to open iTunes the little preview window shows that it is running but I cannot open the window. I tried uninstalling a

  • Starting and Stopping Weblogic 10.3.2

    Just looking for a quick guide to stop WLS 10.3.2 and all its components. I installed OEM within the WLS directory by mistake so I have uninstalled it and plan in re-installing it to the right path and before I do, I want to ensure that WLS is stoppe

  • Ora-22905:cannot access rows from a non-nested ...(during full outer join)

    Greetings Gurus, I'm getting an ORA-22905 when I try and do a full outer join in the following function. If I include the commented lines in the perstren_diff_recs2 function I get the error. Both halfs of the union query work by themselves. When I un