Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Home Directories and AD Authentication

Status
Not open for further replies.
May 2, 2003
1
US
I’m working to configure winbind and pam so that I can log onto my RH9 machine with an Active Directory account. So far I have successfully:

· Configured winbind and samba

· Joined the linux machine to the windows domain

· Authenticated a windows user account on the machine

Now, however, when I log in with a windows account, I get the following message:

“Your home directory is listed as: ‘/home/domain/accountname’ but it does not appear to exist. Do you want to log in with the root directory as your home directory?”

I’ve tried creating a folder called domain in the skel directory and using pam_mkhomedir.so to create this directory on the fly, but it doesn’t seem to be working. I added the following line to /etc/pam.d/login as well as to the pam.conf file.

session required /lib/security/pam_mkhomedir.so skel=/etc/skel/domain/ umask=0222

Any ideas what I’m doing wrong? Getting this to work is a first step in demonstrating linux as a viable option in our environment.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top