So at first I got some reports that users could only see some people and some groups when they searched for someone. And if I deleted a group and then searched for it MOC did not find it. Downloading the address book seemed fine and MOC did not report any problems.
And when trying to run "ABServer.exe -SyncNow" I got the error “Triggering Address Book Server synchronization pass – function not available when RTCSRV service is not running. Start the RTCSRV service."
And yes the service was started, port 135 was open and then I found this: http://blog.tiensivu.com/aaron/archives/1939-2-new-recently-discovered-issues-with-Server-2008-R2-and-OCS-2007-R2-ABServer-errors-and-moving-users.html
(the servers was Windows server 2008 RTM and NOT R2)
Create a new DWORD registry entry at HKLM\SYSTEM\CurrentControlSet\Control\Lsa\DisableLoopbackCheck set to the value of 1.
Well after this regfix and after a reboot “ABServer.exe –SyncNow” actually seemed to start since it didn’t give anything in the command promt. But checking the event log showed this.
Log Name: Office Communications Server
Source: OCS Address Book Server
Date: 10/11/2010 4:51:05 PM
Event ID: 21015
Task Category: (1008)
Unable to access WMI Settings. The Address Book Server will stop.
Exception: COM error code 800407D0 returned – ‘SELECT * FROM MSFT_SIPAddressBookSetting WHERE Backend = "(local)\\rtc"’. Check inner exception for details.
Exception type: ManagementException
Cause: May be a permission issue or may be because the Address Book Server has not been installed correctly.
Re-run the activation wizard.
<Provider Name="OCS Address Book Server" />
<TimeCreated SystemTime="2010-10-11T14:51:05.000Z" />
<Channel>Office Communications Server</Channel>
<Data>COM error code 800407D0 returned – ‘SELECT * FROM MSFT_SIPAddressBookSetting WHERE Backend = "(local)\\rtc"’. Check inner exception for details.
Exception type: ManagementException</Data>
So Google showed that at least one more had got the same problem but as usual no solution.
The simple solution was to just update everything to CU 7 http://technet.microsoft.com/en-us/office/ocs/ee695846.aspx