In LN we have names field configured in different ways (like user name, cannonical name(CN) etc). I created user mapping xml file with cannonical name format in LN to have a mapping to associated AD entry recognizable by SharePoint(SP).
Now this user mapping xml is working well if LN names field contains CN. Otherwise NMSP was not able to recognize the value in names field. Question is how to make user mapping xml file generic so that it’ll work for all display formats of names field in LN?