[CentOS] Can,t get pam_mkhomedir to work...

Tue Jul 31 05:45:24 UTC 2012
Nicolas Ross <rossnick-lists at cybercat.ca>

On a ldap enabled CentOS 6.3 x64 system, I try to make it so home 
directories are auto-created. I added this :

session     required      pam_mkhomedir.so skel=/etc/skel/ umask=0077

to my /etc/pam.d/system-auth

And it does nothing. I restarted messagebus (I've seen references to 
that) and sshd, and logs don't mention anything in regards to 
pam_mkhomedir...

Any hints ?