Het gebruik van ABSconfig met Lync Server 2010

Als men ABSconfig.exe gebruikt in een Lync omgeving moet men zeer voorzichtig zijn. Het gebruik van deze tool welke geïnstalleerd wordt met de Resource  Kit van Lync Server 2010 kan veel schade aanrichten aan de adresboek configuratie van Lync. Mocht men toch de tool hebben gebruikt en nu tegen vreemde events aanlopen kan men deze procedure gebruiken om dit op te lossen. Ook kan er door het gebruik van ABSconfig.exe verkeerde informatie op de verkeerde plek terecht komen. Zo hebben we wel eens een straatnaam gezien in een veld voor het telefoonnummer van thuis.

Het adresboek wordt gecontroleerd door de ABAttribute tabel in de RTC database. Zoals je kunt zien is telefoonnummer waarde 9 in het adresboek en de waarde bij “Flags” geeft aan hoe het nummer wordt weergegeven. Het gebruik van absconfig.exe kan deze instellingen corrupt maken en veel verschillende problemen veroorzaken bij diverse klanten.

Wanneer we dieper in de configuratie duiken zien we dat het adresboek wordt gegeneerd door twee verschillende databases, RTCAB en RTCAB1. Elke dag genereerd een andere database de indexes en files voor het adresboek. Natuurlijk is het mogelijk dat in één of beide databases de corruptie zich bevindt.

Om dit probleem te verhelpen dient men de volgende stappen te doorlopen. Deze procedure is met behoud van bedrijfs foto’s.

1. Op de Front End server open de SQL management Studio
2. Open een connective naar de RTCLOCAL instance
3. Voer het volgende script uit:

Use rtc
exec dbo.RtcDeleteAbAttributes
 exec dbo.RtcAddAbAttribute 1, N'givenName', 0x01400000
 exec dbo.RtcAddAbAttribute 2, N'sn', 0x02400000
 exec dbo.RtcAddAbAttribute 3, N'displayName', 0x03420000
 exec dbo.RtcAddAbAttribute 4, N'title', 0x04000000
 exec dbo.RtcAddAbAttribute 5, N'mailNickname', 0x05400000
 exec dbo.RtcAddAbAttribute 6, N'company',  0x06000000
 exec dbo.RtcAddAbAttribute 7, N'physicalDeliveryOfficeName', 0x07000000
 exec dbo.RtcAddAbAttribute 8, N'msRTCSIP-PrimaryUserAddress', 0x08520C00
 exec dbo.RtcAddAbAttribute 9, N'telephoneNumber', 0x09622800
 exec dbo.RtcAddAbAttribute 10, N'homePhone', 0x0A302800
 exec dbo.RtcAddAbAttribute 11, N'mobile', 0x0B622800
 exec dbo.RtcAddAbAttribute 12, N'otherTelephone', 0x0C302000
 exec dbo.RtcAddAbAttribute 13, N'ipPhone',  0x0D302000
 exec dbo.RtcAddAbAttribute 14, N'mail', 0x0E500000
 exec dbo.RtcAddAbAttribute 15, N'groupType', 0x0F010800
 exec dbo.RtcAddAbAttribute 16, N'Department', 0x10000000
 exec dbo.RtcAddAbAttribute 17, N'Description', 0x11000100
 exec dbo.RtcAddAbAttribute 18, N'manager',  0x12040001
 exec dbo.RtcAddAbAttribute 19, N'proxyAddresses', 0x00500105
 exec dbo.RtcAddAbAttribute 20, N'msExchHideFromAddressLists', 0xFF000003 

4. Wanneer het script succesvol is afgerond kan de SQL management studio worden gesloten
5. Open een Lync Management Shell
6. Voer Update-CsUserDatabase -verbose uit en wacht tot dat deze is afgerond
7. Voer Update-CsAddressBook –verbose uit en wacht tot dat deze is afgerond

24 uur later

8. Voer Update-CsAddressBook –verbose uit en wacht tot dat deze is afgerond

De gebruikers zullen hun eigen lokale galcontacts.db behouden, om dit bij een gebruiker te forceren moet men de lokale kopie weggooien en de lync client starten. Nu wordt direct de nieuwe database gedownload.

 

This entry was posted in Servers. Bookmark the permalink.

2 Responses to Het gebruik van ABSconfig met Lync Server 2010

  1. Sheila Kerfoot says:

    I am trying to remove the Home Phone number from the contact card without using the ABS Configuration Tool (used it once and caused corruption). What value would I put in the Home Phone number field of your query in order to not include the number in the contact card?

    • johan says:

      Hi Sheila,

      You should enter a non e.164 formatted number. The absconfig tool did contain a bug which caused addressbook corruption. But if you downloaded the latest version you can safely modify the addressbook using the Absconfig tool.

      Johan

Geef een reactie

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>