3. Why not pam_mkhomedir?

The PAM module pam_mkhomedir uses Pluggable Authentication Module architecture for its operation. As such, there are some limitations associated with it. For instance:

Finally, Autodir is much wider in scope and supports many more interesting features.