veehexx 1 Posted March 6, 2019 Share Posted March 6, 2019 We upgraded to ESMC a few months ago and used domain connected windows machines as the first wave of migration. Seems to work fine. We use the ADSync server task, which imports all objects in FQDN format - windows and mac. We have recently added our mac devices to the new ESMC console. These machines are added to AD. The ADSync import shows them as FQDN. However when a mac reports, it remains stuck in the Lost & Found group with just their hostname. We have another server task that should rename synced computer names using the Rename Based on: 'Computer FQDN'. also tried the 'computer name' option but that doesnt seem to work either. It appears ESMC doesn't rename mac clients and considers hostname and FQDN as two separate machines. A side problem which might be related is if we rename a machine, the old name remains visable in ESMC so with the above issue we could end up with potentially 4 eset objects for 1 machine. I've not looked into this issue yet so could be something i've not done. how can we resolve this? Link to comment Share on other sites More sharing options...
ESET Staff MichalJ 434 Posted March 6, 2019 ESET Staff Share Posted March 6, 2019 Hello, If you inspect details for those mac machines, what is reported as their FQDN? Is there the correct FQDN name? As the "rename computers" task, should correctly change the name of the device, and then the AD sync task with collision handling set to move, should fix the duplicates issues. However, it looks that the FQDN is not correctly reported from the mac devices. Maybe @MartinK might be able to provide more insights into this. Link to comment Share on other sites More sharing options...
ESET Staff MartinK 383 Posted March 6, 2019 ESET Staff Share Posted March 6, 2019 Since ESET Management Agent 7.0 was release, hostname and FQDN is fetched using mechanisms similar to command line call: sysctl kern.hostname so it has to contain FQDN in order to show it in ESMC. Please check what returns this command on problematic devices, it is cruticla it reports FQDN, so that it can be reported to ESMC and used for renaming or pairing devices synchronized from domain. Link to comment Share on other sites More sharing options...
veehexx 1 Posted March 7, 2019 Author Share Posted March 7, 2019 both ESMC and 'sysctl kern.hostname' show hostname format only - neither have FQDN set. the way you've both responded, i guess we need to change something on the mac side so it uses FQDN as hostname? Link to comment Share on other sites More sharing options...
ESET Staff MartinK 383 Posted March 7, 2019 ESET Staff Share Posted March 7, 2019 9 hours ago, veehexx said: both ESMC and 'sysctl kern.hostname' show hostname format only - neither have FQDN set. the way you've both responded, i guess we need to change something on the mac side so it uses FQDN as hostname? Yes please verify that hostname of macOS machine is correctly set. Otherwise AGENT won't be able to report FQDN name to ESMC, and thus ESMC won't be able to pair device with FQDN entries in domain. Recently we were solving similar issue as support ticket, and customer used command: sudo scutil --set HostName devicename.example.com to correctly set FQDN name on macOS device. veehexx and MichalJ 2 Link to comment Share on other sites More sharing options...
veehexx 1 Posted March 8, 2019 Author Share Posted March 8, 2019 14 hours ago, MartinK said: Yes please verify that hostname of macOS machine is correctly set. Otherwise AGENT won't be able to report FQDN name to ESMC, and thus ESMC won't be able to pair device with FQDN entries in domain. Recently we were solving similar issue as support ticket, and customer used command: sudo scutil --set HostName devicename.example.com to correctly set FQDN name on macOS device. that's got it! once set and waited for the Rename Computer server task to run, ESMC now works as expected. Thanks for the info. We just need to push the name change out to our existing macs via jamf. Link to comment Share on other sites More sharing options...
Recommended Posts