Home › Forums › OS X Server and Client Discussion › Questions and Answers › Home directory creation failures
- This topic has 8 replies, 4 voices, and was last updated 19 years, 6 months ago by
bebop.
-
AuthorPosts
-
July 26, 2005 at 4:03 pm #362492
AaronAdams
ParticipantI’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?
July 26, 2005 at 6:28 pm #362496AaronAdams
ParticipantThe users are located in LDAP. To make sure I understand you correctly, I should use “sudo createhomedir -l” instead of “sudo createhomedir -a”?
July 26, 2005 at 8:28 pm #362500AaronAdams
ParticipantGreat, 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?
August 29, 2005 at 8:46 pm #363002Anonymous
ParticipantBump. 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.
August 30, 2005 at 1:14 pm #363013Anonymous
ParticipantOkay, 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.
September 2, 2005 at 7:03 pm #363090bebop
ParticipantI’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?
September 2, 2005 at 7:43 pm #363092bebop
ParticipantOk, 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.
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed