This appears to be the behavior of dsconfigad on OS X, but I'm not sure. I'm trying to figure out what is causing this as it's causing me headaches for 802.1X authentication.
The issue is the Mac's computer object in Active Directory has userPrincipalName set. Looking at my Windows computers, most of them do not have this attribute set in Active Directory, though I have found a few that do. The problem is when requesting a certificate from Active Directory Certificate Services the userPrincipalName should be in the format of computername$@contoso.com. The Macs that have userPrincipalName set have "host/computername.contoso.com@CONTOSO.COM" set as userPrincipalName. This appears to be the valid format for a Service Principal Name (SPN).
To quickly find computers with this issue you can use some PowerShell:
import-module activedirectory
Get-ADComputer -filter {userPrincipalName -like "host*"} | fl
Or if you want to see computers that don't have a userPrincipalName set to host/...
import-module activedirectory
Get-ADComputer -filter {-not (userPrincipalName -like "host*")} | fl
I haven't seen any other unknown values for userPrincipalName in my Active Directory, so at least it's an easy issue to search for (so far) though I'm not sure if changing the userPrincipalName for an Active Directory computer is going to cause trouble or not. Anyone know?
I'm still in pre-production with rolling out Active Directory binding and 802.1X certificates to the Macs, so I don't yet have a large sample. If anyone is willing to check their own domains with the PowerShell above I'd appreciate it.
