Hi,
The problem is simple, but need a little help.
We have Windows and MAC clients doing machine based certificate authentication. They all have the correct certificates installed, and authentication works without issue.
The AAA configuration is configured for LDAP NTLM based authentication, with the 'Host Object Class' set to computer and the 'Host Search Attribute' set to servicePrincipleName.
Have a rule that that has a 'User' group configured to look if the machine name is the correct 'ObjectCategory'.
Now the issue I have is that when running authorisation the windows will send the machine name with host/ in front, like below which has an entry in AD under servicePrincipleName:
host/chc123.domain.co.uk
The MAC though will send the host name as below, this fails because AD has no entries under servicePrincipleName without the /host:
chc567.domain.co.uk
So although I can managed this difference in the configuration of NAC, what I don't know is where 'host/' comes from on the Windows machine and why its missing from the MAC?
I thought that the actual machine name comes from the cn name within the certificate, is that correct, or perhaps its taking it from the hostname or DNS lookup? I need it to come from the certificate so it can't get spoofed.
Maybe it doesn't matter as when authenticating the actual cn of the cert is used, but when hitting a rule and doing authorisation its using the hostname? Either way be good to know why?
Many thanks in advance.