In order to join ESXi hosts to the domain Likewise agents are used to join to the Active Directory domain and for user authentication requests. In order to troubleshoot Active Directory integration you will need to enable logging of the agent as by default they do not generate a log file.
This can be performed by enabling logging for the netlogond, lwoid and lsassd daemons.
1) Modify the file ‘/etc/init.d/netlogond’ file to change the line ‘PROG_ARGS=”–start-as-daemon –syslog“‘ to one of the below, if you are using a scratch partition use the second option:
PROG_ARGS="--start-as-daemon --logfile /var/log/netlogond.log --loglevel debug" PROG_ARGS="--start-as-daemon --logfile /scratch/log/netlogond.log --loglevel debug"
2) Modify the file ‘/etc/init.d/lwoid‘ file to change the line ‘PROG_ARGS=”–start-as-daemon –syslog“ to one of the below, if you are using a scratch partition use the second option:
PROG_ARGS="--start-as-daemon --logfile /var/log/lwiod.log --loglevel trace" PROG_ARGS="--start-as-daemon --logfile /scratch/log/lwiod.log --loglevel trace"
3) Modify the file ‘/etc/init.d/lsassd‘ file to change the line ‘PROG_ARGS=”–start-as-daemon –syslog”‘ to one of the below, if you are using a scratch partition use the second option:
PROG_ARGS="--start-as-daemon --logfile /var/log/lsassd.log --loglevel trace" PROG_ARGS="--start-as-daemon --logfile /scratch/log/lsassd.log --loglevel trace"
4) Restart each of the services to apply the changes:
/etc/init.d/netlogond restart /etc/init.d/lwiod restart /etc/init.d/lsassd restart