Page 1 of 1

Mac client machine name

Published: October 3, 2025 - 5:51 PM
by jjsoueix
Hello,

We've identified that Macs are being identified by their DNS name, not their actual hostname, in the "Machine" field of the WAPT administration console.
This makes it difficult to identify the name of a Mac connected to a docking station or RJ45 dongle.
Do you have a solution or configuration to resolve this?
Thank you.

WAPT Enterprise Server Version: 2.6.0.17392
Server OS: RHEL10

Re: Machine name for Mac client

Published: October 6, 2025 - 9:34 AM
by sfonteneau
Good morning

I just took a quick look at how to retrieve the name on a Mac.

The following command is clearly being used:

Code: Select all

/bin/hostname
To ask the pimp his name.

Can you see what that shows up on your end?

Re: Machine name for Mac client

Published: October 6, 2025 - 3:40 PM
by dcardon
Hello Jean-Jérôme,

The name of the Mac you want to have, are you retrieving it correctly with the hostname command?

Otherwise, do the following commands give results that are closer to what you want?

Code: Select all

scutil --get ComputerName
scutil --get LocalHostName
Are the machines joined in a domain?

Sincerely,

Denis

Re: Machine name for Mac client

Published: October 9, 2025 - 2:36 PM
by dcardon
Hello again Jean-Jérôme,

regarding the comment about the machine name depending on the MAC address (DHCP?), this bug existed in previous versions of WAPT, but it should no longer be the case in 2.6.

Regards,

Denis