kerrydavis
MIS
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.
· 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.