The create-homedir codepath has been disabled on ESX/ESXi 4.1. Attempting to configure this behavior using the /etc/likewise/lsassd.conf file will not succeed. To configure home directories for Active Directory user accounts, the directories must be manually created.
The /etc/likewise/lsassd.conf file can be modified to detail the location of the home directories once they exist by Adding or modifying these lines:
homedir-prefix = /home
homedir-template = %H/%U
This causes the homedir-prefix = /home to set the starting point for all home directories to be /home and homedir-template = %H/%U sets the home directory to be the homedir-prefix %H followed by the user account name %U. The variable %D can also be used to substitute the Active Directory domain name into the user's home directory.
Run these commands in sequence to restart the lsassd daemon and clear the Active Directory cache for these settings to take effect.
- /etc/init.d/lsassd stop
- rm /etc/likewise/db/lsass-adcache.filedb
- /etc/init.d/lsassd start