Forum Replies Created
-
AuthorPosts
-
March 23, 2006 at 6:11 am in reply to: Problem with mac os 10.4.4 client and NFS located home folder on linux server #365774
djc6
ParticipantI think what I’m going to do is use this program:
http://www.bombich.com/software/lwm.html
To run a shell script each time the user logs on. If it detects that this is the first time a user has logged in, I’ll copy the template over as their home directory.
March 23, 2006 at 4:00 am in reply to: Problem with mac os 10.4.4 client and NFS located home folder on linux server #365770djc6
ParticipantI am experiencing the same thing. I noticed the User Template is only applied when I am creating a local user whose home directory is on the local disk in /Users
When I have a user log in whose home directory is set to be on the NFS mounted share, the “User Template” is not used.
See this article:
http://docs.info.apple.com/article.html?artnum=107256
Which says that users with NFS home directories have to be created before they log in, with the “createhomedir” command – which I imaging copies the “User Template” folder over.
djc6
ParticipantI figured it out…
I was logging in with my ldap account to test it out, and would then log out. Next, I would log in as a local user and delete the profile, thinking I could then log in again with my ldap account to test its automatic creation. Well, apparently OS X is smart enough to know I’d logged in before and would look for my home directory. People who had truely never touched the machine before wouldn’t receive this error the first time they logged in; it would simply create them a home directory. Because I had logged in before, OS X brought up that error since it knew it’d already made me a home directory once before (I guess).
If I rebooted the machine between deleting my home directory and logging in again, OS X would not present that error. I guess rebooting clears some cache that told the OS it had made a home directory for me in the past. Thanks!!
-
AuthorPosts