Change the XSL template file
You must update the existing XSL template file to use login_id as the primary look up key for both the payload and distribution list to member mapping payload as shown in the following examples.
User element in LDAP Sync version 1.2.7
<xsl:template match="//hynode[@type='USER']"> <xsl:element name="user"> <xsl:attribute name="seqId"> <xsl:value-of select="position()"/> </xsl:attribute> <xsl:for-each select="attributes"><xsl:element name="mid"> <xsl:value-of select="samaaccountname"/> </xsl:element><xsl:element name="displayName"> <xsl:value-of select="displayname"/> </xsl:element> <xsl:element name="firstName"> <xsl:value-of select="givenname"/> </xsl:element> <xsl:element name="lastName"> <xsl:value-of select="sn"/> </xsl:element>
User element after User Sync Client
<xsl:template match="//hynode[@type='USER']"> <xsl:element name="user"> <xsl:attribute name="seqId"> <xsl:value-of select="position()"/> </xsl:attribute> <xsl:for-each select="attributes"> <xsl:element name="login_id"> <xsl:value-of select="samaaccountname"/> </xsl:element> <xsl:element name="displayName"> <xsl:value-of select="displayname"/> </xsl:element> <xsl:element name="firstName"> <xsl:value-of select="givenname"/> </xsl:element> <xsl:element name="lastName"> <xsl:value-of select="sn"/> </xsl:element>