Home Forums OS X Server and Client Discussion Questions and Answers Home directory creation failures

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #362492
    AaronAdams
    Participant

    I’ve seen this posted on these forums a number of times without any real response. Maybe someone knowledgable can clue us in.

    When creating new accounts in OpenDirectory, the “Create Home Now” button, followed by “Save”, doesn’t work on both Tiger servers I manage. Neither does “sudo createhomedir -a” at the command line. The only way to create home directories on Tiger server, in my experience, is to login as the new user at the server console.

    What am I doing wrong? Is there something I’m missing about the home directory creation process?

    #362496
    AaronAdams
    Participant

    The users are located in LDAP. To make sure I understand you correctly, I should use “sudo createhomedir -l” instead of “sudo createhomedir -a”?

    #362500
    AaronAdams
    Participant

    Great, thanks for taking time to help me out. There’s nothing unusual in /var/log/system.log. It records where I used sudo to execute the command, but that’s all. Is there a different log I should look at?

    #363002
    Anonymous
    Participant

    Bump. I’m having the same problem. Tiger Server 10.4.2 with Users’ home folders on a Fibre Channel attached X-RAID.

    Location of home directories is: “afp://xserve.domain.com/Volumes/X-RAID/Users”. Using WGM “Create Home Now” button and command line “sudo createhomedir -u usershortname” do not generate a home folder. All users are in LDAP directory. Logging onto the server via AFP DOES NOT create the home directory, but user is able to logon and access shares corresponding to his/her access privs.

    Any help would be greatly appreciated.

    #363013
    Anonymous
    Participant

    Okay, so I’ll answer my own question. It turns out I was incorrectly specifying the location for my home directories. I changed it from “afp://xserve.domain.com/Volumes/X-RAID/Users” (which, btw, is what DID work under Jaguar server) to “afp://xxx.xxx.xxx.xxx/Users/” and, voila, it’s now working as advertised! Home directories are automatically created by WGM in the correct location (on my X-RAID) and users can authenticate and log into their accounts configured with portable home directories.

    #363090
    bebop
    Participant

    I’m still having this problem myself.

    Tiger 10.4.2 on XServe.
    Home is afp://msxserve.hackleyschool.org/students (students is the share not the path)

    Running createhomedir -a as root returns ‘Creating home directories’, but it’s lying.

    Kind of a show stopper ya know?

    Anyone?

    #363092
    bebop
    Participant

    Ok, I don’t know if this is what was stopping anybody else, but here’s what I was doing wrong.

    I did a clean install of Tiger Server leaving user directories untouched on another partition. I then batch reloaded the accounts (with a lot of new ones) using Passenger.

    Well as you can imagine, this reassigns user IDs so there are mismatches between accounts and home directory permissions.

    I ran batch permissions with Passenger (God I love that app) and lo and behold. ‘createhomedir -a’ works like a charm.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.

Comments are closed