Profile synchronisation in SharePoint 2010 can be a pain. One of the more complex things to do is enable netbios names. This needs to be done to enable line manager names and user names to be resolved correctly.
This must be done using the SharePoint management shell. I dont know why there is not a simple tickbox for this :o(
Here are the steps:
Get-SPServiceApplication
$var = Get-SPServiceApplication –Identity "paste guid of application here"
$var.NetBiosDomainNamesEnabled
$var.NetBiosDomainNamesEnabled = “True”
$var.update()
$var.NetBiosDomainNamesEnabled
$var = Get-SPServiceApplication –Identity "paste guid of application here"
$var.NetBiosDomainNamesEnabled
$var.NetBiosDomainNamesEnabled = “True”
$var.update()
$var.NetBiosDomainNamesEnabled
Type them one at a time with a return after each one. Paste the GUID obtained from the first command into line two.
After completing the above you MUST delete the AD connection, create a new one and then do a full sync.