5.1.3.2.1.8. Join Domain Issue

Verify the following steps to ensure that the join was successful.

Note

The AD integration only allows us to be part of one domain. NTP Server is required to be configured on the OpenNAC Enterprise server.

Before perform any changes on ON Core, verify the hostname of the AD Server using the following commands by CLI:

hostname
get-addomain
../../../../../_images/AdServerHostName.png


Add the AD Server hostname to hosts file on etc directory. Or you can use a DNS server to resolve the name for AD Server.

../../../../../_images/issues6.png


You have to replace the “${server}” by the AD Server hostname. Please edit the line 183 of the ad_integration.sh file as follows:

vim +247 /usr/share/opennac/utils/scripts/ad_integration.sh
sudo net join -U "${user}@${realm}%${passwordAD}" -S WIN-S0PRFV0LPEB
../../../../../_images/issues7.png