[K12OSN] *Home Directory..Again..Please Help*

Rondall Stewart rstewart at iccpartners.com
Fri Oct 28 15:20:57 UTC 2005


Can you ping the host name of the domian controler.  Make sure you have DNS and all that set up correctly.
 
 
I have seen a case where I had to manually enter the "A" recored of the linux server into DNS.
 
Backup /etc/pam.d/gdm and /etc/pam.d/login
Add the following line at the end of each file
session required pam_mkhomedir.so skel=/etc/skel/ umask=0077
 
Make sure in /home you have a directory that matches the short name of your domain in captial letters.
Make sure you have the following three line in your /etc/samba/smb.conf file
 
template homedir = /home/%D/%U
template shell = /bin/bash
winbind use default domain = yes

In a couple domains I couldn't get the ADS to work so I used security = domain in the smb.conf file
If you do this Delete the account in AD and type
net domain join -U adminusername
 
 
 
Rondall Stewart
Technical Team Leader
ICC Technology Partners
(606)886-8447

________________________________

From: k12osn-bounces at redhat.com on behalf of Paul VanGundy
Sent: Wed 10/26/2005 9:24 AM
To: 'Support list for opensource software in schools.'
Subject: [K12OSN] *Home Directory..Again..Please Help*



All,

 

I was recently able to get my K12LTSP server to authenticate against a W2K3 ADS via winbind. Since then, I had sent an email asking for help with getting home directories created when a user logs on or a script that will grab AD user information and create home folders in a designated location on the K12LTSP server. 

 

I received several responses but none that seemed to work. I am emailing again to ask if anyone has successfully found a way to get home directories automatically made for a user when they log in for the first time on K12LTSP or if there is a script that exist that will grab user info from the ADS and create user folders automatically.

 

I know many of us use K12LTSP (obviously because we are on the listserv :-)) and surely some users on here authenticate against a Windows ADS as well and have their home folders set up properly. I am asking (and kinda pleading! :-)) that someone give me some insight and point me in the right direction so that I can get this resolved. Also, when/if you do reply please treat me like a newb so that I can ensure I do it right! :-) 

 

Thanks in advance to you all.

 

-Paul

 

Paul VanGundy

Technology Coordinator

Epping High School

Epping Middle School

P: 603.679.5472 x219

F: 603.679.2966

vangundypw at sau14.k12.nh.us

 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 7738 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/k12osn/attachments/20051028/15c5a8cd/attachment.bin>


More information about the K12OSN mailing list