SMP Resource Key Creation Logic for Mac OS Client Computers
The following describes how the values for the resource keys are created on Mac clients. Run 'aex-helper info resource' on any Unix, Linux or Mac client that has the SMP agent installed to see the resource keys and their values for that machine.
For 7.1 SP2 and above for Mac
1. First ‘name.domain’ resource key
When Targeted Agent Settings are set to Computer:
A. Name: the value in System Preferences Sharing UI
B. Domain: empty
When Targeted Agent Settings are set to DNS:
A. Name: If nodename or hostname resolve, get the DNS name. If hostname is empty, use nodename.
B. Domain: If nodename or hostname resolve, use DNS domain. Otherwise, use local system call to domainname. If domain name is empty OR if targeted agent setting to use /etc/resolv.conf is checked, then use the /etc/resolve.conf domain.
2. ‘fqdn’ resource key
A. Concatenation of the values for first 'name.domain' key when targeted agent settings are set to DNS. The ‘fqdn’ key is reported if it differs from the first ‘name.domain’ key.
3. Second ‘name.domain’ resource key
A. This is a copy of the ‘fqdn’ resource key and is used for backward compatibility with NS6. The second ‘name.domain’ key is reported only if it differs from the first ‘name.domain’ key.
4. ‘macaddress’ resource key
A. Contains the mac addresses of the client computer.
5. ‘uniqueid’ resource key
A. This is composed of ComputerID, MotherboardID and Mac Address. However, on Mac clients the ComputerID and MotherboardID are blank so this is literally a hashed value of the mac address values. If you find that you must exclude 'macaddress' as a resource key for Mac clients, then the 'uniqueid' should also be excluded.
7.5 for Mac
An additional ‘name.domain’ resource key is added for Mac computers bound to an active directory domain. This 'name.domain' key contains the organizational values., e.g., ‘OU=…’. This shows as the second ‘name.domain’ key and is only reported if it differs from the first ‘name.domain’ key.