Doug Deitterick's Blog

Information about Microsoft Lync, OCS, and Exchange UM.

What Happens During SchemaPrep in Lync Server 2010?

What Happens During SchemaPrep in Lync Server 2010?

  • Comments 3
  • Likes

Lync Server 2010, just like previous versions of OCS, has new Active Directory schema that needs to be loaded before you can install any server roles.  In Lync Server 2010 the new schema is split up into four different files: 

  • BackCompatSchema.ldf
  • ExternalSchema.ldf
  • ServerSchema.ldf
  • VersionSchema.ldf

These files can be found on the installation media in \Support\Schema.  Running the SchemaPrep step as part of the install will automatically import the changes contained in these files into Active Directory.  If you would like to manually import the schema into Active Directory, via ldifde, you need to make sure to apply the schema in a specific order:

  1. ExternalSchema.ldf
  2. ServerSchema.ldf
  3. BackCompatSchema.ldf
  4. VersionSchema.ldf

Remember that no matter whether if you are migrating from a previous version of OCS or installing Lync Server 2010 in a greenfield environment, you need to apply all four schema files.

The following are the new attributes that are added to your Active Directory schema during SchemaPrep:

Attribute Description

msRTCSIP-TenantId

Unique identifier of the tenant. This should be unique across all tenants.

msRTCSIP-UserPolicies

This attribute is used to store name value pairs.

msRTCSIP-OwnerUrn

Urn of the owner for the application contact.

msRTCSIP-TargetUserPolicies

This attribute is used to store name value pairs for target policies on OCS user.

msRTCSIP-DeploymentLocator

This attribute used in split domain topology and contains an Fqdn.

msRTCSIP-PrivateLine

This attribute contains Device ID of the Private Line Device.

msRTCSIP-AcpInfo

The xml blob contains audio conferencing provider information for a user.

msRTCSIP-GroupingID

Unique identifier of a group.  Used to group address book entries

ms-Exch-UC-Voice-Mail-Settings

 

ExternalSchema.ldf

The ExternalSchema.ldf file contains two changes.  It changes the thumbnailphoto attribute to replicate to the global catalog for the address book service.  It also adds the ms-Exch-UC-Voice-Mail-Settings attribute to AD. 

ServerSchema.ldf

The ServerSchema.ldf file contains most of the attribute changes for Lync Server 2010. 

BackCompatSchema.ldf

This schema file contains all the previous attributes for OCS 2007 R2.  This is mainly used in a greenfield deployment where the RTC attributes don't already exist.

VersionSchema.ldf

The VersionSchema.ldf file is the last file to be run.  All this schema file does is to set the ms-RTC-SIP-SchemaVersion attribute to the Lync Server 2010 version (1100). 

Comments
  • Any issue with applying this do a environment running LCS currently?

  • @LCS

    A better questions to ask would be, "How are you going to migrate the users to Lync?".  Since there is not direct migration path from LCS 2005 to Lync Server 2010, I would start there and decide upon the best option for migrating your users and updating clients.

  • Is there a 3rd party product that goes beyond what technet.microsoft.com/.../gg429725.aspx & msRTCSIP-GroupingID  provides for Lync 2010 which would prevent them from using email contact information or manual entry of contact or phone number information. Please let me know at Lowell.Livingston@acgov.org or lowelllivingston@hotmail.com - Thanks!

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment