Did you try following command in /etc/pam.d/system-auth:
Code:
session optional pam_mkhomedir.so
As far as I know that the Pluggable Authentication Modules library, or PAM, is actually a collection of shared libraries. These shared libraries are used to control how users login to systems. By the use of number of modules previously installed or previously available, we can restrict user access to systems in different ways. You can also customize the login behavior by the use of several utility modules.
Bookmarks